Comments (5)
@illdopejake is currently working to standardize nilearn fetchers, which might help here !
from abagen.
Hey @PeerHerholz! Thanks so much for reaching out with the suggestion. 🙂
This is something that I've been thinking about for various projects since it came up in miykael/atlasreader#4, and I unfortunately I have yet to settle on a good solution. I'd love to be able to use the atlas fetchers in nilearn
, but unfortunately the metadata provided with the atlases aren't consistent enough to rely on. It would be great if something like HAWG could be adopted to standardize the metadata, but we're not there yet.
So my question in response to your question is: how would you decide which atlases to include? I have trouble settling on a relatively concise list, myself, and really only included the DK atlas because it's convenient (low resolution = quick to test!). I would be alright including a small list (maybe <5 atlases) I think, but worry that this is something that could quickly balloon out of proportion... Let me know your thoughts!
from abagen.
As @PeerHerholz sais, the question is lightweight or not. A nilearn
fetch_
approach is probably possible, the metadata are not too chaotic and I'm sure that a PR to nilearn
could take care of any issues.
But as I mention here (miykael/atlasreader#60 (comment)), I see some other issues with using nilearn
s fetch_
approach. The main one is the problem of file size. nilearn
is prone to download much more than you need. But also this could perhaps been taken care of with a PR to nilearn
.
from abagen.
Thanks for your thoughts on this @rmarkello and @miykael.
True that: deciding on atlases to include is rough. I had the same "problem" with ALPACA, but it actually also helped to get some ideas and plans. I think, that the total number should be restricted to around 5 atlases. Furthermore, these atlases should be a nice mixture of type (cytoarchitecture, function, multimodal, etc.) and complexity (small/few vs big/many ROIs).
Would datalad be an alternative to nilearn
's fetch_
approach?
Another option could be to limit the number of already included atlases, while giving users the possibility to use the package with their atlas of choice, e.g., a small functionality and tutorial?
from abagen.
I'm going to close this since I think at the current juncture including atlases is outside the scope of abagen
. Will maybe revisit at a later point but the plan is to stick to just processing and workflows, with the DK atlas included purely for example purposes.
from abagen.
Related Issues (20)
- Update about using custom parcellation
- BUG Report: Something wrong with the sample assignment when using Brainnetome atlas
- BUG Report: Something wrong with the sample assignment when using Brainnetome atlas(abagen.get_samples_in_mask)
- BUG: TypeError: set_axis() got an unexpected keyword argument 'inplace' HOT 2
- How to get samples*gene matrix before samples merged in brain region ?
- how to save the expression file? HOT 4
- get_interpolated_map - Key error for certain genes
- Qustion about the hemisphere filter method in drop_mismatch_samples function (samples_.py L223)
- Fetching aborted when using abagen.get_expression_data HOT 3
- Question about using freesurfer .annot files HOT 3
- Question about atlas
- DataFrame.set_axis() got an unexpected keyword argument 'inplace' with pandas 2.1.2 HOT 12
- return gene groups in abagen.get_expression_data
- Bug Report: ‘check_surface’ Function Offset Calculation Issue in ‘images.py’
- The problem of abagen obtaining the number of AHBA genes HOT 1
- get_expression file does not include all/desired genes
- brain regions from atlas "missing" in expression df
- [...] not in index
- AttributeError: 'DataFrame' object has no attribute 'append'
- Assistance Required: Issue with set_axis inplace Parameter in Pandas
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from abagen.