selectFeaturesGR: selectFeaturesGR

Description Usage Arguments Value

Description

Returns new GRanges object based on the selection criteria.

Usage

1
2
selectFeaturesGR(gr, type = "start", width = 10, feature = "gene",
  randomranges = NULL)

Arguments

gr

GRanges object - it is assumed that it is full genomic annotation imported from GFF

type

Could be "start", "end" or "random"

width

Integer indicating length of selected ranges

feature

"gene" or "exon", to be selected from GFF annotation. "gene" is the default.

randomranges

optional argumument, required if type="random" is supplied; this is a vector of widths

Value

GenomicRange object containing only selected features


freesci/rGWIPS documentation built on May 31, 2019, 8:07 a.m.