hanatToVolume: Converts a column from a hierarchical tree into a volume for...

View source: R/minc_hierarchical_anatomy.R

hanatToVolumeR Documentation

Converts a column from a hierarchical tree into a volume for viewing or saving

Description

Converts a column from a hierarchical tree into a volume for viewing or saving

Usage

hanatToVolume(anatTree, labelVolume, column)

Arguments

anatTree

The anatomical tree

labelVolume

The volume containing the label definitions

column

String indicating which column to turn into a volume

Value

The volume with the values from the anatomical tree

Examples

## Not run: 
labelVol <- mincArray(mincGetVolume("some-labels.mnc"))
hLm <- hanatLm(~Sex, gfBasic, vols)
statsvol <- hanatToVolume(hLm, labelVol, "F.statistic")
mincPlotSliceSeries(anatVol, statsvol, anatLow = 700, anatHigh = 1400, 
  low=1, high=10, symmetric = F, begin=50, end=-50)

## End(Not run)

Mouse-Imaging-Centre/RMINC documentation built on Nov. 12, 2022, 1:50 p.m.