hanatLm: linear model applied to every item in an anatomical tree

View source: R/minc_hierarchical_anatomy.R

hanatLmR Documentation

linear model applied to every item in an anatomical tree

Description

See anatLm for more detail

Usage

hanatLm(formula, data, anatTree)

Arguments

formula

The model formula

data

The data frame containing the right side of the formula

anatTree

The anatomical tree

Details

The volumes inside the anatomical hierarchy and the data must be of the same length and ordering.

Value

The anatomical tree with the model information added

Examples

## Not run: 
vols <- addVolumesToHierarchy(hdefs, allvols)
hLm <- hanatLm(~Sex, gf, vols)

## End(Not run)

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