getRegionDNA: getRegionDNA

View source: R/primerpcr.R

getRegionDNAR 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)

dianalow/SPLINTER documentation built on March 28, 2024, 2:07 p.m.