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


YuLab-SMU/ChIPseeker documentation built on Feb. 11, 2024, 5:22 p.m.