Learn R Programming

neurovault (version 0.5.4)

nv_atlas_region: Neurovault Query Atlas Region

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

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

Run this code
# NOT RUN {
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)
# }

Run the code above in your browser using DataLab