plotMethProfile: Plots methylation profiles over a specific region

Description Usage Arguments Value Author(s) Examples

Description

Plots a smoothed methylation 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.

Usage

1
plotMethProfile(rrbs, CpGs, group1, group2, CpGindex)

Arguments

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

Value

NULL, the function plots the profiles

Author(s)

Tom Mayo t.mayo@ed.ac.uk

Examples

1
2
3
4
# plot the 9th region in the Toy Data Set
data(rrbsDemo)
data(CpGsDemo)
plotMethProfile(rrbsDemo, CpGsDemo, 'H1-hESC', 'K562', 9)

TomMayo/M3Ddevel documentation built on May 9, 2019, 4:53 p.m.