loadData {neuroim}R Documentation

Generic function to load data from a data source

Description

Generic function to load data from a data source

load a BrainSurface

loadData

Load data from a BrainBucketSource

load a BrainVolume

Usage

loadData(x, ...)

## S4 method for signature 'BrainSurfaceSource'
loadData(x)

## S4 method for signature 'SparseBrainVectorSource'
loadData(x)

## S4 method for signature 'BrainVectorSource'
loadData(x, mmap = FALSE)

## S4 method for signature 'BrainBucketSource'
loadData(x, key)

## S4 method for signature 'BrainVolumeSource'
loadData(x)

Arguments

x

a data source

...

additional arguments

mmap

use memory-mapped file

key

the name or index of the bucket to load

Value

an instance of class BrainVector

an instance of class BrainVolume


[Package neuroim version 0.0.6 Index]