varExplained: Reports the fraction of variance explained by the model for...

Usage Arguments Value

Usage

1
varExplained(dat, mod, adjust = T)

Arguments

dat

A matrix with measurements in rows and samples in columns

mod

A model such as that produced by model.matrix

adjust

Adjust the calculation for model size. Will produce some negative numbers but allows cross-model comparison.

Value

A vector of length nrow(dat) with fraction variance explained for each measurement in dat.


mchikina/CellCODE documentation built on May 23, 2019, 1:13 p.m.