structurePlot: Plot the volume or expression within a Structure

Description Usage Arguments Value Examples

View source: R/functions.R

Description

Plot the volume or expression within a Structure

Usage

1
structurePlot(cids, vol, annot, plot = F)

Arguments

cids

Structure ids

vol

3D volume of expression values

annot

3D annotation of volume with structure IDs

plot

Boolean of whether to make 3D plot

Value

tvol 3D volume restricted to just structure of interest

Examples

1
2
3
4
5
6
data(structureID)
data(vol3D)
data(annot3D)
cids <- getStructureIds(structureID, 'pallium')
sect3D <- structurePlot(cids, vol3D, annot3D)  # For whole structure
gpsect3D <- structurePlot(cids, array(mat['Dcx',], dim=dim(gannot3D)), gannot3D)  # For a particular gene

hms-dbmi/brainmapr documentation built on May 17, 2019, 4:35 p.m.