seq2gene {ChIPseeker} | R Documentation

## seq2gene

### Description

annotate genomic regions to genes in many-to-many mapping

### Usage

    seq2gene(seq, tssRegion, flankDistance, TxDb, sameStrand = FALSE)

### Arguments

`seq` | genomic regions in GRanges object
`tssRegion` | TSS region
`flankDistance` | flanking search radius
`TxDb` | TranscriptDb object
`sameStrand` | logical whether find nearest/overlap gene in the same strand

### Value

gene vector

### Author(s)

Guangchuang Yu

[Package ChIPseeker version 1.20.0 Index]