authorsynth
produce a brain map that represents the brain spatial coverage published by a particular neuroscience author.
Science Score: 59.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 5 DOI reference(s) in README -
✓Academic publication links
Links to: frontiersin.org, zenodo.org -
✓Committers with academic emails
1 of 2 committers (50.0%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (13.7%) to scientific vocabulary
Repository
produce a brain map that represents the brain spatial coverage published by a particular neuroscience author.
Basic Info
- Host: GitHub
- Owner: vsoch
- License: mit
- Language: R
- Default Branch: master
- Homepage: http://www.vbmis.com/bmi/authorSynth
- Size: 277 MB
Statistics
- Stars: 0
- Watchers: 4
- Forks: 6
- Open Issues: 0
- Releases: 1
Metadata Files
README.md
authorSynth
AuthorSynth is a tool to query neuroSynth to associate authors with brain maps. Functions to query pubmed are included, but not used in the original implementation.
The first workflow (the python scripts in the top directory) works with the NeuroSynth database to create the maps, and the second workflow (the R scripts) use NeuroSynth to define a subset of functional behaviorally-relevant brain images, reduce these images to a 2D space, calculate match scores of the author brain maps to these images, and then display. All scripts for production of data for use in the authorSynth web interface are included.
Creation of Author Brain Maps
authorExtract.py
This script will extract Authors from the NeuroSynth database, including Name, a unique ID, PI status, pmids, and number of publications, to create the data/authors.txt file.
authorSynth.py
This is the main module to import into a script that includes the following functions: - neurosynthInit(dbsize): Takes "dbsize" (3000 or 525) - getFeatures(db): returns features (behavioral terms) - getArticles(author,email): returns dictionaries of dois nd pmids for author query ("Last FM") - neurosynthMatch(db,papers,author,outdir,outprefix): matches papers to neurosynth and makes brain map - getAuthor(db,pmid): returns list of authors for a single pmid or doi - getAuthors(db): returns all authors in the NeuroSynth database - getIDs(db): returns all pmid or doi from the NeuroSynth database
authorSynth_local.py
Includes examples for running authorSynth locally for one or more authors to create the brain maps
runauthorSynthccluster.py
Includes examples for running authorSynth in a cluster environment using the authors in the authors.txt file. It works by submitting multiple jobs of:
authorSynth_cluster.py
Takes command line arguments uuid, author, email, outdirectory, and paper ids to batch process creation of author brain maps.
Usage : authorSynth_cluster.py uuid "author" email outdirectory id1,id2,id3
Creation of 2D Space to Visualize Author Brain Maps
This second workflow moves the author brain maps through the particular analysis done to produce the visualizations in the current AuthorSynth web portal. You should only need the first workflow to produce author brain maps, and this second work flow is to reproduce the work in the authorSynth paper.
To understand the author brain maps on the level of behavior, we first use NeuroSynth to conduct meta analysis of functional studies, creating maps of 525 behaviorally relevant terms (eg, "anxiety") to describe what the neuroscience literature has to say about each terms in a brain image (FDR corrected .05, voxel values are Z scores of the probability of the term given activation). The workflow is as follows:
- Create pFgA maps from NeuroSynth database (these are in MNI 152 standard space) - these are not the author brain maps, but a set of behavioral maps you are interested in. It doesn't have to be NeuroSynth necessarily.
- Resample these images into 8mm to reduce the dimensionality
- Read these images into a matrix to make an SOM with:
R/makeTermSOM.R
Will read in NeuroSynth 8mm resampled images, create an SOM, save node coordinates and labels, use transformation matrix to sample back to 2mm images, and write SOM 2mm images to file.
- We then calculate match scores for our author brain maps to the SOM, and parse into matrices with:
R/matchToSOM.R
calculates match scores of each authorBrain map to these SOM 2mm images
R/run_matchToSOM.R
submits multiple of the above, intended to be run on the Sherlock Cluster at Stanford. Each run produces an output .Rda file with a vector of match scores of the authorMap to each of the SOM images, and this is done for several metrics, including: - Euclidean Distance (euc) - Cosine Distance (cos) - Overlap of Author Map and SOM Map as a % of Author Map (func) - Overlap of Author Map and SOM Map as a % of SOM Map (so)
R/parseMatchScores.R
reads in individual output files produced by matchToSOM, and compiles different match scores into group matrices.
R/plotSOM.R
Maps scores onto the SOM to make static images
R/exportD3.R
Calculates author similarity based on being co-authors on same publication, output is json file to drive d3 network visualization.
R/maked3groups.R
Produces groups (colorings) of network based on different levels of clustering for exportD3.
R/makeAuthorJson.R
Produces a single author json for the d3 visualization single author page
R/authorWebPage.R
Produces data for the d3 lattice and author similarity comparison page.
Owner
- Name: Vanessasaurus
- Login: vsoch
- Kind: user
- Website: https://vsoch.github.io
- Twitter: vsoch
- Repositories: 631
- Profile: https://github.com/vsoch
I'm the Vanessasaurus!
GitHub Events
Total
Last Year
Committers
Last synced: over 1 year ago
Top Committers
| Name | Commits | |
|---|---|---|
| Vanessa | v****t@s****u | 69 |
| bhellion | s****0@h****m | 7 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: about 1 year ago
All Time
- Total issues: 1
- Total pull requests: 0
- Average time to close issues: 1 day
- Average time to close pull requests: N/A
- Total issue authors: 1
- Total pull request authors: 0
- Average comments per issue: 4.0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- vsoch (1)