View source: R/Manhattan_plot.R
Manhattan_plot | R Documentation |
This function outputs the Manhattan plot for all cytosines or regions in different chromosomes with significant line based on R package qqman.
Manhattan_plot(
siteall_Qvalue,
chrlabs = NULL,
col = c("black", "grey"),
ylab = "-log(Q value)",
suggestiveline = -log10(0.01),
genomewideline = -log10(0.001)
)
siteall_Qvalue |
refers to the input file with Q value from DMR_test(), e.g., regiongeneall_Qvalues, genefeatureall_cpgfeature_Qvalue or others with Q values. |
chrlabs |
refers to the label of chromosomes, with default NULL. |
col |
refers to the color of plots, with default black and grey. |
suggestiveline |
refers to the significant line, with default 0.01. |
genomewideline |
refers to the genome-wide significant line, with default 0.001. |
Outputs a Manhattan figure with Q values.
Manhattan_plot(siteall_Qvalue, ylab = "-log(Q-value)")
Manhattan_plot(regiongenealls_Qvalue, chrlabs = c(1:18,"X"), col = c("green","orange"), genomewideline = -log10(1e-02))
Manhattan_plot(genefeatureall_cpgfeature_Qvalue, ylab = c("-log(Q value) for CpG island", "-log(Q value) for Shore"), col = c("red","blue"),
suggestiveline = -log10(5e-02), genomewideline = -log10(1e-02))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.