download_brains: Download YouToo sample data

Description Usage Arguments Value Examples

View source: R/api.R

Description

Download YouToo sample data

Usage

1
2
3
download_brains(path = ".", type = "wildtype", pattern = NULL, ...)

read_brains(file)

Arguments

path

where downloaded data will be stored

type

wildtype or youtoo. Default is wildtype

pattern

regular expression to match file names

...

arguments passed to download.file

file

path to HDF5 file

Value

a list of class brain

Examples

1
2
3
4
wildtype_files <- download_brains(pattern = "101")
youtoo_files <- download_brains(type = "youtoo", pattern = "6")
brains <- read_brains(c(wildtype_files, youtoo_files))
plot2d(brains[[1]], title = name)

baumer-lab/cranium documentation built on Nov. 3, 2019, 2:07 p.m.