getGenomicAnnotation: getGenomicAnnotation

View source: R/getGenomicAnnotation.R

getGenomicAnnotationR Documentation

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

Author(s)

G Yu


GuangchuangYu/ChIPseeker documentation built on Oct. 31, 2024, 9:13 a.m.