si2gr: Create 'GRanges' from 'Seqinfo' or 'BSgenome'

Description Usage Arguments Value Examples

View source: R/gUtils.R

Description

Creates a genomic ranges from seqinfo object i.e. a pile of ranges spanning the genome

Usage

1
si2gr(si, strip.empty = FALSE)

Arguments

si

Seqinfo object or a BSgenome genome

strip.empty

boolean Flag to output non-zero GRanges only (default = FALSE)

Value

GRanges representing the range of the input genome

Examples

1

mskilab/gUtils documentation built on Sept. 1, 2018, 8:21 p.m.