Learn R Programming

neurovault (version 0.5.4)

nv_atlas_voxel: Neurovault Atlas Query Voxel

Description

Searches atlas and returns the region name that matches the specified coordinates in the specified atlas. Coordinates are in mm in MNI space.

Usage

nv_atlas_voxel(x, y, z, collection_name, atlas_name, verbose = TRUE,
  secure = TRUE, ...)

Arguments

x

x-coordinate to query

y

y-coordinate to query

z

z-coordinate to query

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_voxel(x = 30, y= 30, z = 30,
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