extractSequences: extractSequences

Description Usage Arguments Value Examples

Description

Given a GRanges object and a genome version (hg19, mm9, ce10 or dm3), this function extracts the DNA sequences for all genomic regions found in an input object.

Usage

1

Arguments

queryRegions

GRanges object containing coordinates of input query regions imported by the importBed function

genomeVersion

A character string to denote the BS genome library required to extract sequences. Available options are hg19, mm9, ce10 and dm3.

Value

DNAStringSet object will be returned

Examples

1
2
3
data(queryRegions)
sequences <- extractSequences(queryRegions = queryRegions,
                             genomeVersion = 'hg19')

RCAS documentation built on Nov. 8, 2020, 8:03 p.m.