Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ENH] Add kappa-opioid receptor map #129

Merged
merged 2 commits into from
Nov 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion neuromaps/datasets/_osf.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

# uniquely identify each item ('hemi' can be None)
FNAME_KEYS = ['source', 'desc', 'space', 'den', 'res', 'hemi']
# auto-generated (checksum can be None if file doest not exist)
# auto-generated (checksum can be None if file doesn't not exist)
AUTO_KEYS = ['format', 'fname', 'rel_path', 'checksum']
# required keys but values are all optional
COND_KEYS = ['title', 'tags', 'redir', 'url']
Expand Down
19 changes: 19 additions & 0 deletions neuromaps/datasets/data/osf.json
Original file line number Diff line number Diff line change
Expand Up @@ -2442,6 +2442,25 @@
"6196cadc1088a703e8bce0f4"
]
},
{
"source": "vijay2018",
"desc": "ly2795050",
"space": "MNI152",
"res": "2mm",
"format": "volume",
"fname": "source-vijay2018_desc-ly2795050_space-MNI152_res-2mm_feature.nii.gz",
"rel_path": "vijay2018/ly2795050/MNI152",
"checksum": "a911d664d26daca6a53fa9d53234a5cf",
"title": null,
"tags": [
"receptors",
"PET"
],
"redir": null,
"url": [
"4mw3a",
"6566590ea7a4834be871422b"]
},
{
"source": "xu2020",
"desc": "FChomology",
Expand Down
2 changes: 1 addition & 1 deletion neuromaps/stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def compare_images(src, trg, metric='pearsonr', ignore_zero=True, nulls=None,
`trg` data. Default: True
nulls : array_like, optional
Null data for `src` to use in generating a non-parametric p-value.
If not specified a parameteric p-value is generated. Default: None
If not specified a parametric p-value is generated. Default: None
nan_policy : {'propagate', 'raise', 'omit'}, optional
Defines how to handle when input contains nan. 'propagate' propagates
the nan values to the callable metric (will return nan if the metric
Expand Down