getRegionDNA: getRegionDNA

Description Usage Arguments Value Author(s) Examples

View source: R/primerpcr.R

Description

get DNA sequence give a region of interest

Usage

1
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

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

SPLINTER documentation built on Nov. 8, 2020, 8:13 p.m.