plotMethylPercentage: Generate a Pie Chart of The percentage of ChIP peak...

View source: R/Visualization.R

plotMethylPercentageR Documentation

Generate a Pie Chart of The percentage of ChIP peak nucleotides that are methylated

Description

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

Usage

plotMethylPercentage(methylOverlapData)

Arguments

methylOverlapData

a data frame with a coverage column specifying the percentage of reads methylated. This column must be named coverage

Value

returns a pie plot of methylation percentages

Examples

path1 <- system.file("extdata", "MAZ_high_score.bed", package = "ChIPAnalyzer")
path2 <- system.file("extdata", "HcfUMethylData.bed", package = "ChIPAnalyzer")
overlap <- getMethylOverlap(path1, path2)
plotMethylPercentage(overlap)


RyDe4/ChIPanalyzer documentation built on Sept. 1, 2023, 9:18 a.m.