View source: R/sortByChromAndStart.R
sortByChromAndStart | R Documentation |
GRanges-class
objectsSorts a GRanges-class
objects
by seqname (chromosome), start, and position.
sortByChromAndStart(x)
sortByChromAndEnd(x)
x |
GRanges object |
Objects that inherits from a
GRanges-class
can be sorted as well.
GRanges-class
object or from the
original object class.
GR <- as(c("chr2:1-1", "chr1:1-1"), "GRanges")
GR <- sortByChromAndStart(GR)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.