nv_atlas_region: Neurovault Query Atlas Region

Description Usage Arguments Value Examples

View source: R/nv_atlas_region.R

Description

Searches atlas for specified region and related synonyms. If no matches are found, it will search the NIF ontology recursively for children of the specified region that are found in the atlas. If no matches are found, it will search recursively for parents that are found in the atlas. Returns the corresponding to the X, Y and Z coordinates, respectively, of the matching voxels. Coordinates are in mm in MNI space.

Usage

1
2
3
4
5
6
7
8
nv_atlas_region(
  region,
  collection_name,
  atlas_name,
  verbose = TRUE,
  secure = TRUE,
  ...
)

Arguments

region

Region to search or query on

collection_name

Collection name of the atlas

atlas_name

Name of the atlas

verbose

print diagnostic messages

secure

passed to nv_base_url for https

...

additional options to pass to GET

Value

List of the result of the GET call and the content

Examples

1
2
3
4
5
res = nv_atlas_region(
region = "middle frontal gyrus",
collection_name = "Harvard-Oxford cortical and subcortical structural atlases",
atlas_name = "HarvardOxford cort maxprob thr25 1mm")
head(res$content$voxels)

muschellij2/neurovault documentation built on Dec. 16, 2019, 10:41 p.m.