plotGenic: Plot methylation status across genic regions(or some other...

Description Usage Arguments Value Examples

View source: R/plotGenic.R

Description

Plot methylation status across genic regions(or some other features) and their up/down stream.

Usage

1
2
plotGenic(object, grAnno, numbin, wingbin, upstream = 2000,
  downstream = 500, scoreColumnName, Strand = FALSE)

Arguments

object:

A GRanges object contains the methylsites

grAnno:

A TxDb object containing the features. Please provide the strand info if you are ploting

numbin:

bin number to split the feature regions we wanna plot

wingbin:

bin number of the up/down stream

upstream:

numeric; upstream bp to plot; default:2000

downstream:

numeric; downstream bp to plot; default:500

scoreColumnName:

character; The name of score in object.

Strand:

boolean; Wheather use the strand info of object. default: F.

Value

A dataframe which contains site location and annotation. In the dataframe, there won't be the metainfo like p-values etc.

Examples

1
2
data(ExampleAnnotate)
result<-DMSAnnotate(methylDiff.obj, ExampleGencode)

ritianjiang/MethyAge2 documentation built on Dec. 3, 2019, 2:03 p.m.