getTissueSubclasses: Create images for each identified tissue subclass.

Description Usage Arguments Value Examples

View source: R/getTissueSubclass.R

Description

Creates brainImage instances for each subclass preserving the original dimensions.

Usage

1

Arguments

data

data.frame of volume to split

split

data.frame (key, val) with values to split at (keys)

Value

returns a list where all list elements contain data subsets belonging to the identified tissue class

Examples

1
2
3
4
5
data <- data.frame(x=rep(1:10, 5), 
y=c(rep(1,10),rep(2,10),rep(3,10),rep(4,10),rep(5, 10)), 
z=rep(1, 50), val=rnorm(50))
img <- new("brainImage", data, "test", 10)
getTissueSubclasses(img, data.frame(key=median(data$val), val=NA))

mknoll/imageanalysisBrain documentation built on May 23, 2019, 2:01 a.m.