Neurovault API

knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)

The NeuroVault database (https://neurovault.org/) is a:

place where researchers can publicly store and share unthresholded statistical maps, parcellations, and atlases produced by MRI and PET studies.

This allows researchers to compare results from multiple studies.

The NeuroVault API (https://neurovault.org/api-docs) allows users to access this data with some calls to a RESTful API.

The neurovault package wraps these commands using httr. Here we will look

library(neurovault)
res = nv_collection_images(id = 77)
df = results_to_df(res$content$results)
head(df)

Atlases

We can download and view a labeled atlas for the results:

library(neurobase)
res = download_nv_atlas(id = 1408)
atlas = readnii(res$outfile[1])
ortho2(atlas)

NIDM Results

You can access the neuroimaging data model (NIDM) (http://nidm.nidash.org/) information using:

nidm = nv_nidm_results()


Try the neurovault package in your browser

Any scripts or data that you put into this service are public.

neurovault documentation built on Jan. 5, 2018, 1:04 a.m.