nv_atlas_voxel: Neurovault Atlas Query Voxel

Description Usage Arguments Value Examples

View source: R/atlas_query_voxel.R

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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
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

1
2
3
4
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)

neuroconductor-devel-releases/neurovault documentation built on May 6, 2020, 4:26 p.m.