sortBySeqnameAndStart: Sorting 'GRanges' objects

sortBySeqnameAndStartR Documentation

Sorting 'GRanges' objects

Description

Sorts a GRanges object by seqname and start position

Usage

sortBySeqnameAndStart(gr)

sortBySeqnameAndEnd(gr)

Arguments

gr

GRanges object

Value

GRanges object

Examples

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


genomaths/MethylIT documentation built on Feb. 3, 2024, 1:24 a.m.