getRegionDNA {SPLINTER} | R Documentation

## getRegionDNA

### Description

get DNA sequence give a region of interest

### Usage

    getRegionDNA(roi, genome, introns = FALSE)

### Arguments

`roi` | `makeROI` object
`genome` | BSgenome object
`introns` | TRUE/FALSE. whether to include intronic (lowercase) DNA. By default returns only exonic (uppercase) DNA.

### Value

list of
(1) DNA sequence (2) Junction start (for primer design)

### Author(s)

Diana Low

### Examples

    suppressMessages(library(BSgenome.Mmusculus.UCSC.mm9))
    bsgenome<-BSgenome.Mmusculus.UCSC.mm9
    getRegionDNA(roi,bsgenome)

[Package SPLINTER version 1.20.0 Index]