getMethylationStats-methods: get Methylation stats from methylRaw object

Description Usage Arguments Value Examples

Description

The function returns basic statistics about per base/region. It can also plot a histogram of methylation values.

Usage

1

Arguments

object

a methylRaw object

plot

plot a histogram of Methylation if TRUE (deafult:FALSE)

both.strands

do plots and stats for both strands seperately if TRUE (deafult:FALSE)

labels

should the bars of the histrogram have labels showing the percentage of values in each bin (default:TRUE)

...

options to be passed to hist function.

Value

a summary of Methylation statistics or plot a histogram of coverage

Examples

1
2
3
4
data(methylKit)

# gets coverage stats for the first sample in methylRawList.obj object
getMethylationStats(methylRawList.obj[[1]],plot=TRUE,both.strands=FALSE,labels=TRUE)

fortunatobianconi/methylkit documentation built on May 16, 2019, 1:51 p.m.