sortBySeqnameAndStart {MethylIT}R Documentation

Sorting 'GRanges' objects

Description

Sorts a GRanges object by seqname and start position

Usage

sortBySeqnameAndStart(gr)

Arguments

gr

GRanges object

Value

GRanges object

Examples

GR <- as(c("chr2:1-1", "chr1:1-1"), "GRanges")
GR <- sortBySeqnameAndStart(GR)


[Package MethylIT version 0.3.1 ]