DAPipeline(set, variable_names, variable_types = rep(NA, length(variable_names)), covariable_names = NULL, covariable_types = rep(NA, length(covariable_names)), equation = NULL, num_var = NULL, labels = NULL, sva = FALSE, region_methods = c("bumphunter", "DMRcate"), shrinkVar = FALSE, probe_method = "ls", max_iterations = 100, num_feat = 50, num_cores = 1, verbose = FALSE, ...)MethylationSet or ExpressionSetDARegion. If
"none", region analysis is not performed.DARegion function.MethylationResult object
preparePhenotype). Afterwards, analysis per probe and per
region are done merging the results in an AnalysisResults object.Default linear model will contain a sum of the variables and covariables. If
interactions are desired, a costum formula can be specified. In that case, variables
and covariables must also be specified in order to assure the proper work of the
resulting AnalysisResult. In addition, the number of variables of the model
for which the calculation will be done must be specified.
preparePhenotype
if (require(minfiData)){
set <- prepareMethylationSet(matrix = getBeta(MsetEx)[1:10, ], pheno = pData(MsetEx))
res <- DAPipeline(set, variable_names = "Sample_Group", probe_method = "ls")
res
}
Run the code above in your browser using DataLab