| runDiffVarAnalysis {MEAL} | R Documentation |
Run differential variance analysis. This analysis can only be run with categorical
variables. This function relies on varFit from missMethyl package.
runDiffVarAnalysis( set, model, coefficient = NULL, resultSet = TRUE, betas = TRUE, warnings = TRUE, ... )
set |
Matrix, |
model |
Model matrix or formula to get model matrix from |
coefficient |
Numeric with the coefficients used to make the groups. If NULL, all possible groups will be computed. |
resultSet |
Should results be encapsulated in a |
betas |
If |
warnings |
Should warnings be displayed? (Default:TRUE) |
... |
Further arguments passed to |
MArrayLM or resultSet with the result of the differential
variance analysis.
if (require(minfiData)){
mvalues <- getM(MsetEx)[1:100, ]
model <- model.matrix(~ Sample_Group, data = pData(MsetEx))
res <- runDiffVarAnalysis(mvalues, model)
res
}