arrange.Ranges | R Documentation |
Sort a Ranges object
## S3 method for class 'Ranges'
arrange(.data, ...)
.data |
A Ranges object. |
... |
Comma seperated list of variable names. |
A sorted Ranges object
rng <- as_iranges(data.frame(start = 1:10, width = 10:1))
rng <- mutate(rng, score = runif(10))
arrange(rng, score)
# you can also use dplyr::desc to arrange by descending order
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.