Learn R Programming

ChIPseeker (version 1.8.6)

getGenomicAnnotation: getGenomicAnnotation

Description

get Genomic Annotation of peaks

Usage

getGenomicAnnotation(peaks, distance, tssRegion = c(-3000, 3000), TxDb, level, genomicAnnotationPriority, sameStrand = FALSE)

Arguments

peaks
peaks in GRanges object
distance
distance of peak to TSS
tssRegion
tssRegion, default is -3kb to +3kb
TxDb
TxDb object
level
one of gene or transcript
genomicAnnotationPriority
genomic Annotation Priority
sameStrand
whether annotate gene in same strand

Value

character vector