qtlPlotSNPCpGInteraction | R Documentation |
Compares the methylation states of a given CpG for the genotype states availabe at the given SNP
qtlPlotSNPCpGInteraction(
meth.qtl,
cpg = NULL,
snp = NULL,
out.dir = NULL,
meth.qtl.res = NULL,
out.name = NULL
)
meth.qtl |
An object of type |
cpg |
The CpG identifier as a character (e.g. cg12345678) |
snp |
The SNP identifier as a character (e.g. rs12345678) |
out.dir |
If specified, the plot is stored as a pdf in this directory |
meth.qtl.res |
An optional argument of type |
out.name |
Optional name for the resulting plot |
An object of type ggplot
comparing the CpG methylation states as boxplots across the different genotype states
Michael Scherer
meth.qtl <- loadMethQTLInput(system.file("extdata","reduced_methQTL",package="MAGAR"))
qtlPlotSNPCpGInteraction(meth.qtl,cpg="cg19565884",snp="rs149871695")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.