View source: R/Visualization.R
plotMethylPercentage | R Documentation |
Using the dataframe of methylation data for ChIP peak nucleotides generated by getMethylOverlap, create a pie chart showing the percentage of peak sites that are methylated
plotMethylPercentage(methylOverlapData)
methylOverlapData |
a data frame with a coverage column specifying the percentage of reads methylated. This column must be named coverage |
returns a pie plot of methylation percentages
path1 <- system.file("extdata", "MAZ_high_score.bed", package = "ChIPAnalyzer")
path2 <- system.file("extdata", "HcfUMethylData.bed", package = "ChIPAnalyzer")
overlap <- getMethylOverlap(path1, path2)
plotMethylPercentage(overlap)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.