Learn R Programming

MEAL (version 1.2.3)

plotVolcano: Make a Volcano plot with the probe results

Description

Plot log p-value versus the change in expression/methylation.

Usage

plotVolcano(object, variable = modelVariables(object)[1], mindiff = NULL)

Arguments

object
MethylationResults or MethylationRegionResults
variable
Character with the variable name used to obtain the probe results. Note: model name should be used. Original variable name might not be valid.
mindiff
Numeric with the minimum change in methylation or expression needed to be significant

Value

A plot is generated on the current graphics device.

Examples

Run this code
if (require(minfiData)){
betas <- getBeta(MsetEx)[floor(seq(1, nrow(MsetEx), 10000)), ]
set <- prepareMethylationSet(betas, pheno = pData(MsetEx))
methyOneVar <- DAPipeline(set, variable_names = "sex", probe_method = "ls")
plotEWAS(methyOneVar)
}

Run the code above in your browser using DataLab