nimare 0.4.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- benchmarks/__init__.py +0 -0
- benchmarks/bench_cbma.py +57 -0
- nimare/__init__.py +45 -0
- nimare/_version.py +21 -0
- nimare/annotate/__init__.py +21 -0
- nimare/annotate/cogat.py +213 -0
- nimare/annotate/gclda.py +924 -0
- nimare/annotate/lda.py +147 -0
- nimare/annotate/text.py +75 -0
- nimare/annotate/utils.py +87 -0
- nimare/base.py +217 -0
- nimare/cli.py +124 -0
- nimare/correct.py +462 -0
- nimare/dataset.py +685 -0
- nimare/decode/__init__.py +33 -0
- nimare/decode/base.py +115 -0
- nimare/decode/continuous.py +462 -0
- nimare/decode/discrete.py +753 -0
- nimare/decode/encode.py +110 -0
- nimare/decode/utils.py +44 -0
- nimare/diagnostics.py +510 -0
- nimare/estimator.py +139 -0
- nimare/extract/__init__.py +19 -0
- nimare/extract/extract.py +466 -0
- nimare/extract/utils.py +295 -0
- nimare/generate.py +331 -0
- nimare/io.py +667 -0
- nimare/meta/__init__.py +39 -0
- nimare/meta/cbma/__init__.py +6 -0
- nimare/meta/cbma/ale.py +951 -0
- nimare/meta/cbma/base.py +947 -0
- nimare/meta/cbma/mkda.py +1361 -0
- nimare/meta/cbmr.py +970 -0
- nimare/meta/ibma.py +1683 -0
- nimare/meta/kernel.py +501 -0
- nimare/meta/models.py +1199 -0
- nimare/meta/utils.py +494 -0
- nimare/nimads.py +492 -0
- nimare/reports/__init__.py +24 -0
- nimare/reports/base.py +664 -0
- nimare/reports/default.yml +123 -0
- nimare/reports/figures.py +651 -0
- nimare/reports/report.tpl +160 -0
- nimare/resources/__init__.py +1 -0
- nimare/resources/atlases/Harvard-Oxford-LICENSE +93 -0
- nimare/resources/atlases/HarvardOxford-cort-maxprob-thr25-2mm.nii.gz +0 -0
- nimare/resources/database_file_manifest.json +142 -0
- nimare/resources/english_spellings.csv +1738 -0
- nimare/resources/filenames.json +32 -0
- nimare/resources/neurosynth_laird_studies.json +58773 -0
- nimare/resources/neurosynth_stoplist.txt +396 -0
- nimare/resources/nidm_pain_dset.json +1349 -0
- nimare/resources/references.bib +541 -0
- nimare/resources/semantic_knowledge_children.txt +325 -0
- nimare/resources/semantic_relatedness_children.txt +249 -0
- nimare/resources/templates/MNI152_2x2x2_brainmask.nii.gz +0 -0
- nimare/resources/templates/tpl-MNI152NLin6Asym_res-01_T1w.nii.gz +0 -0
- nimare/resources/templates/tpl-MNI152NLin6Asym_res-01_desc-brain_mask.nii.gz +0 -0
- nimare/resources/templates/tpl-MNI152NLin6Asym_res-02_T1w.nii.gz +0 -0
- nimare/resources/templates/tpl-MNI152NLin6Asym_res-02_desc-brain_mask.nii.gz +0 -0
- nimare/results.py +225 -0
- nimare/stats.py +276 -0
- nimare/tests/__init__.py +1 -0
- nimare/tests/conftest.py +229 -0
- nimare/tests/data/amygdala_roi.nii.gz +0 -0
- nimare/tests/data/data-neurosynth_version-7_coordinates.tsv.gz +0 -0
- nimare/tests/data/data-neurosynth_version-7_metadata.tsv.gz +0 -0
- nimare/tests/data/data-neurosynth_version-7_vocab-terms_source-abstract_type-tfidf_features.npz +0 -0
- nimare/tests/data/data-neurosynth_version-7_vocab-terms_vocabulary.txt +100 -0
- nimare/tests/data/neurosynth_dset.json +2868 -0
- nimare/tests/data/neurosynth_laird_studies.json +58773 -0
- nimare/tests/data/nidm_pain_dset.json +1349 -0
- nimare/tests/data/nimads_annotation.json +1 -0
- nimare/tests/data/nimads_studyset.json +1 -0
- nimare/tests/data/test_baseline.txt +2 -0
- nimare/tests/data/test_pain_dataset.json +1278 -0
- nimare/tests/data/test_pain_dataset_multiple_contrasts.json +1242 -0
- nimare/tests/data/test_sleuth_file.txt +18 -0
- nimare/tests/data/test_sleuth_file2.txt +10 -0
- nimare/tests/data/test_sleuth_file3.txt +5 -0
- nimare/tests/data/test_sleuth_file4.txt +5 -0
- nimare/tests/data/test_sleuth_file5.txt +5 -0
- nimare/tests/test_annotate_cogat.py +32 -0
- nimare/tests/test_annotate_gclda.py +86 -0
- nimare/tests/test_annotate_lda.py +27 -0
- nimare/tests/test_dataset.py +99 -0
- nimare/tests/test_decode_continuous.py +132 -0
- nimare/tests/test_decode_discrete.py +92 -0
- nimare/tests/test_diagnostics.py +168 -0
- nimare/tests/test_estimator_performance.py +385 -0
- nimare/tests/test_extract.py +46 -0
- nimare/tests/test_generate.py +247 -0
- nimare/tests/test_io.py +294 -0
- nimare/tests/test_meta_ale.py +298 -0
- nimare/tests/test_meta_cbmr.py +295 -0
- nimare/tests/test_meta_ibma.py +240 -0
- nimare/tests/test_meta_kernel.py +209 -0
- nimare/tests/test_meta_mkda.py +234 -0
- nimare/tests/test_nimads.py +21 -0
- nimare/tests/test_reports.py +110 -0
- nimare/tests/test_stats.py +101 -0
- nimare/tests/test_transforms.py +272 -0
- nimare/tests/test_utils.py +200 -0
- nimare/tests/test_workflows.py +221 -0
- nimare/tests/utils.py +126 -0
- nimare/transforms.py +907 -0
- nimare/utils.py +1367 -0
- nimare/workflows/__init__.py +14 -0
- nimare/workflows/base.py +189 -0
- nimare/workflows/cbma.py +165 -0
- nimare/workflows/ibma.py +108 -0
- nimare/workflows/macm.py +77 -0
- nimare/workflows/misc.py +65 -0
- nimare-0.4.2.dist-info/LICENSE +21 -0
- nimare-0.4.2.dist-info/METADATA +124 -0
- nimare-0.4.2.dist-info/RECORD +119 -0
- nimare-0.4.2.dist-info/WHEEL +5 -0
- nimare-0.4.2.dist-info/entry_points.txt +2 -0
- nimare-0.4.2.dist-info/top_level.txt +2 -0
@@ -0,0 +1,123 @@
|
|
1
|
+
# STATEMENT OF CHANGES: This file is derived from sources licensed under the Apache-2.0 terms,
|
2
|
+
# and this file has been changed.
|
3
|
+
# The original file this work derives from is found at:
|
4
|
+
# https://github.com/nipreps/niworkflows/blob/9905f90110879ed4123ea291f512b0a60d7ba207/niworkflows/reports/default.yml
|
5
|
+
#
|
6
|
+
# [May 2023] CHANGES:
|
7
|
+
# * Replace BIDSlayout with code that uses the nimare Dataset and MetaResult class.
|
8
|
+
#
|
9
|
+
# ORIGINAL WORK'S ATTRIBUTION NOTICE:
|
10
|
+
#
|
11
|
+
# Copyright 2021 The NiPreps Developers <nipreps@gmail.com>
|
12
|
+
#
|
13
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
14
|
+
# you may not use this file except in compliance with the License.
|
15
|
+
# You may obtain a copy of the License at
|
16
|
+
#
|
17
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
18
|
+
#
|
19
|
+
# Unless required by applicable law or agreed to in writing, software
|
20
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
21
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
22
|
+
# See the License for the specific language governing permissions and
|
23
|
+
# limitations under the License.
|
24
|
+
define: &heatmap_text "The heatmap presents the relative contributions of each experiment to
|
25
|
+
each cluster in the thresholded map. There is one row for each experiment, and
|
26
|
+
one column for each cluster, with column names being
|
27
|
+
<em>PostiveTail</em>/<em>NegativeTail</em> indicating the sign (+/-) of the cluster's
|
28
|
+
statistical values. The rows and columns were re-ordered to form clusters in the heatmap."
|
29
|
+
define: &focuscounter_text "The FocusCounter analysis characterizes the relative contribution
|
30
|
+
of each experiment in a meta-analysis to the resulting clusters by counting the number
|
31
|
+
of peaks from each experiment that fall within each significant cluster."
|
32
|
+
define: &jackknife_text "The Jackknife analysis characterizes the relative contribution of each
|
33
|
+
experiment in a meta-analysis to the resulting clusters by looping through
|
34
|
+
experiments, calculating the Estimator's summary statistic for all experiments
|
35
|
+
<b>except</b> the target experiment, dividing the resulting test summary statistics
|
36
|
+
by the summary statistics from the original meta-analysis, and finally averaging
|
37
|
+
the resulting proportion values across all voxels in each cluster."
|
38
|
+
define: &explorer_text "The following figure provides an interactive window to explore
|
39
|
+
the meta-analytic map in detail."
|
40
|
+
package: nimare
|
41
|
+
sections:
|
42
|
+
- name: Summary
|
43
|
+
reportlets:
|
44
|
+
- bids: {value: preliminary, dset: 1, suffix: summary}
|
45
|
+
title: Dataset 1
|
46
|
+
- bids: {value: preliminary, dset: 1, suffix: figure-mask}
|
47
|
+
title: Mask
|
48
|
+
- bids: {value: preliminary, dset: 1, suffix: figure-static}
|
49
|
+
title: Peak coordinates
|
50
|
+
- bids: {value: preliminary, dset: 1, suffix: figure-legend}
|
51
|
+
- bids: {value: preliminary, dset: 1, suffix: figure-interactive}
|
52
|
+
title: Explorer
|
53
|
+
iframe: True
|
54
|
+
- bids: {value: preliminary, dset: 1, suffix: figure-relcov}
|
55
|
+
title: Relative Coverage Map
|
56
|
+
- bids: {value: preliminary, dset: 1, suffix: figure-dof}
|
57
|
+
title: DoF Map
|
58
|
+
- bids: {value: preliminary, dset: 1, suffix: figure-truevoxels}
|
59
|
+
title: Percentage of Valid Voxels
|
60
|
+
dropdown: True
|
61
|
+
- bids: {value: preliminary, dset: 1, suffix: figure-ridgeplot}
|
62
|
+
title: Ridge Plot
|
63
|
+
- bids: {value: preliminary, dset: 1, suffix: figure-summarystats}
|
64
|
+
title: Summary Statistics
|
65
|
+
dropdown: True
|
66
|
+
- bids: {value: preliminary, dset: 1, suffix: figure-similarity}
|
67
|
+
title: Similarity of Input Maps
|
68
|
+
- bids: {value: preliminary, dset: 2, suffix: summary}
|
69
|
+
title: Dataset 2
|
70
|
+
- bids: {value: preliminary, dset: 2, suffix: figure-mask}
|
71
|
+
title: Mask
|
72
|
+
- bids: {value: preliminary, dset: 2, suffix: figure-static}
|
73
|
+
title: Peak coordinates
|
74
|
+
- bids: {value: preliminary, dset: 2, suffix: figure-legend}
|
75
|
+
- bids: {value: preliminary, dset: 2, suffix: figure-interactive}
|
76
|
+
title: Explorer
|
77
|
+
iframe: True
|
78
|
+
- name: Meta-Analysis
|
79
|
+
reportlets:
|
80
|
+
- bids: {value: estimator, suffix: summary}
|
81
|
+
title: Estimator
|
82
|
+
description: Parameters use to fit the meta-analytic estimator.
|
83
|
+
- bids: {value: corrector, suffix: summary}
|
84
|
+
title: Corrector
|
85
|
+
description: Parameters use to fit the corrector.
|
86
|
+
- bids: {value: corrector, suffix: figure-summary}
|
87
|
+
- bids: {value: corrector, suffix: figure-non}
|
88
|
+
- bids: {value: corrector, suffix: figure-interactive}
|
89
|
+
subtitle: Explorer
|
90
|
+
description: *explorer_text
|
91
|
+
- bids: {value: corrector, suffix: figure-static}
|
92
|
+
description: This panel shows the the corrrected meta-analytic map.
|
93
|
+
- name: Diagnostics
|
94
|
+
reportlets:
|
95
|
+
- bids: {value: diagnostics, suffix: summary}
|
96
|
+
- bids: {value: diagnostics, tab: clust, suffix: table}
|
97
|
+
subtitle: Significant clusters
|
98
|
+
- bids: {value: diagnostics, tail: positive, suffix: figure}
|
99
|
+
subtitle: "Label map: positive tail"
|
100
|
+
- bids: {value: diagnostics, tail: negative, suffix: figure}
|
101
|
+
subtitle: "Label map: negative tail"
|
102
|
+
- bids: {value: diagnostics, diag: FocusCounter, tab: counts, suffix: figure}
|
103
|
+
subtitle: FocusCounter
|
104
|
+
caption: *heatmap_text
|
105
|
+
description: *focuscounter_text
|
106
|
+
- bids: {value: diagnostics, diag: Jackknife, tab: counts, suffix: figure}
|
107
|
+
subtitle: Jackknife
|
108
|
+
caption: *heatmap_text
|
109
|
+
description: *jackknife_text
|
110
|
+
- bids: {value: diagnostics, diag: FocusCounter, tab: counts, tail: positive, suffix: figure}
|
111
|
+
subtitle: FocusCounter
|
112
|
+
subsubtitle: "Heatmap: positive tail"
|
113
|
+
caption: *heatmap_text
|
114
|
+
description: *focuscounter_text
|
115
|
+
- bids: {value: diagnostics, diag: FocusCounter, tab: counts, tail: negative, suffix: figure}
|
116
|
+
subsubtitle: "Heatmap: negative tail"
|
117
|
+
- bids: {value: diagnostics, diag: Jackknife, tab: counts, tail: positive, suffix: figure}
|
118
|
+
subtitle: Jackknife
|
119
|
+
subsubtitle: "Heatmap: positive tail"
|
120
|
+
caption: *heatmap_text
|
121
|
+
description: *jackknife_text
|
122
|
+
- bids: {value: diagnostics, diag: Jackknife, tab: counts, tail: negative, suffix: figure}
|
123
|
+
subsubtitle: "Heatmap: negative tail"
|