Description Usage Arguments Value Author(s) Examples
View source: R/plotCoverageSampleProfiles.R
Plots the profile for each of the two testing groups. Within each group, the mean of methylation level is taken, smoothed and plotted, along with the individual values.
1 2 | plotCoverageSampleProfiles(rrbs, CpGs, group1, group2, CpGindex,
samples = NaN, plot_title = NaN)
|
rrbs |
An rrbs object containing methylation and coverage data as created using the BiSeq pacakge |
CpGs |
A GRanges object with each row being a testing region |
group1 |
The name of the first testing group |
group2 |
The name of the second testing group |
CpGindex |
The index within the CpGs object of the region we are plotting |
samples |
Names of specific samples in the groups to plot, defaults to all samples in both groups |
plot_title |
Optional title for the plot, overrides automatic title |
NULL, the function plots the profiles
Tom Mayo t.mayo@ed.ac.uk
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.