getGenomicAnnotation {ChIPseeker} | R 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

[Package ChIPseeker version 1.14.2 Index]