meffil.ewas.cpg.plot: Scatter plots for a CpG site in an EWAS

View source: R/plot-ewas.r

meffil.ewas.cpg.plotR Documentation

Scatter plots for a CpG site in an EWAS

Description

Scatter plots for a CpG site in an EWAS

Usage

meffil.ewas.cpg.plot(ewas.object, cpg, beta, title = cpg)

Arguments

ewas.object

Return object from meffil.ewas().

cpg

CpG site to plot.

beta

Matrix of methylation levels used to create the ewas.object.

title

Title of the plot (Default: cpg).

ggplot

object showing the scatterplots of DNA methylation vs the variable of interest in the EWAS. Each plot corresponds to a covariate set. Methylation levels are in fact residuals from fitting a model with DNA methylation and the covariates.


perishky/meffil documentation built on June 9, 2024, 5:59 p.m.