diffMethPerChr-methods: Get and plot the number of hyper/hypo methylated...

Description Usage Arguments Value Examples

Description

This function gets number of hyper/hypo methylated regions/bases from methylDiff object. It can also plot percentages of differentially methylated bases per chromosome.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
diffMethPerChr(
  x,
  plot = TRUE,
  qvalue.cutoff = 0.01,
  meth.cutoff = 25,
  exclude = NULL,
  keep.empty.chrom = FALSE,
  ...
)

## S4 method for signature 'methylDiff'
diffMethPerChr(
  x,
  plot = TRUE,
  qvalue.cutoff = 0.01,
  meth.cutoff = 25,
  exclude = NULL,
  keep.empty.chrom = FALSE,
  ...
)

## S4 method for signature 'methylDiffDB'
diffMethPerChr(
  x,
  plot = TRUE,
  qvalue.cutoff = 0.01,
  meth.cutoff = 25,
  exclude = NULL,
  keep.empty.chrom = FALSE,
  ...
)

Arguments

x

a methylDiff object

plot

TRUE|FALSE. If TRUE horizontal barplots for proportion of hypo/hyper methylated bases/regions

qvalue.cutoff

cutoff for q-value

meth.cutoff

cutoff for percent methylation difference

exclude

names of chromosomes to be excluded from plot

keep.empty.chrom

keep chromosome in list / plot, even if it contains no hyper/hypo sites

...

extra graphical parameters to be passed to barplot function

Value

plots a piechart or a barplot for percentage of the target features overlapping with annotation

Examples

1
2
3
4
5
data(methylKit)
 
# get a list of differentially methylated bases/regions per chromosome and overall
diffMethPerChr(methylDiff.obj, plot=FALSE,qvalue.cutoff=0.01, 
               meth.cutoff=25,exclude=NULL)

methylKit documentation built on Jan. 30, 2021, 2 a.m.