annotationByGenicParts-methods: Get distance to nearest TSS and gene id from...

Description Usage Arguments Value Examples

Description

This accessor function gets the nearest TSS, its distance to target feature,strand and name of TSS/gene from annotationByGenicParts object

Usage

1

Arguments

x

an annotationByGenicParts object

Value

a data.frame containing row number of the target features,distance of target to nearest TSS, TSS/Gene name, TSS strand

Examples

1
2
3
4
5
data(methylKit)
gene.obj=read.transcript.features(system.file("extdata", "refseq.hg18.bed.txt", package = "methylKit"))
ann=annotate.WithGenicParts(methylDiff.obj, gene.obj)
df=getAssociationWithTSS(ann)
head(df)

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