withSeq.RdTidyverse-compatible function to add sequence to an existing GRanges
withSeq(granges, genome)
| granges | A GRanges object |
|---|---|
| genome | DNAStringSet object. Ideally, the sequence of an entire genome, obtained for instance by running |
GRanges with a seq column containing the sequence of the GRanges.