runDiffVarAnalysis: Run differential variance analysis

Description Usage Arguments Value Examples

View source: R/runDiffVarAnalysis.R

Description

Run differential variance analysis. This analysis can only be run with categorical variables. This function relies on varFit from missMethyl package.

Usage

1
2
3
4
5
6
7
8
9
runDiffVarAnalysis(
  set,
  model,
  coefficient = NULL,
  resultSet = TRUE,
  betas = TRUE,
  warnings = TRUE,
  ...
)

Arguments

set

Matrix, GenomicRatioSet, SummarizedExperiment or ExpressionSet.

model

Model matrix or formula to get model matrix from set.

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 resultSet? (Default: TRUE)

betas

If set is a GenomicRatioSet, should beta values be used? (Default: TRUE)

warnings

Should warnings be displayed? (Default:TRUE)

...

Further arguments passed to varFit.

Value

MArrayLM or resultSet with the result of the differential variance analysis.

Examples

1
2
3
4
5
6
if (require(minfiData)){
 mvalues <- getM(MsetEx)[1:100, ]
 model <- model.matrix(~ Sample_Group, data = pData(MsetEx)) 
 res <- runDiffVarAnalysis(mvalues, model)
 res
}

isglobal-brge/MEAL documentation built on May 8, 2021, 8:05 p.m.