Description Usage Arguments Value Examples
This accessor function gets the nearest TSS, its distance to target feature, strand and name of TSS/gene from AnnotationByGeneParts object
1 2 3 4 | getAssociationWithTSS(x)
## S4 method for signature 'AnnotationByGeneParts'
getAssociationWithTSS(x)
|
x |
a |
RETURNS a data.frame containing row number of the target features, distance of target to nearest TSS, TSS/Gene name, TSS strand
1 2 3 4 5 6 | data(cage)
bed.file = system.file("extdata/chr21.refseq.hg19.bed", package = "genomation")
gene.parts = readTranscriptFeatures(bed.file)
cage.annot = annotateWithGeneParts(cage, gene.parts, intersect.chr=TRUE)
head(getAssociationWithTSS(cage.annot))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.