R/minc_hierarchical_anatomy.R
hanatToVolume.Rd
Converts a column from a hierarchical tree into a volume for viewing or saving
hanatToVolume(anatTree, labelVolume, column)
anatTree | The anatomical tree |
---|---|
labelVolume | The volume containing the label definitions |
column | String indicating which column to turn into a volume |
The volume with the values from the anatomical tree
# 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) # }