Description Usage Arguments Value Examples
View source: R/region_functions.R
Sorts imported regions by chromosomal location or score.
1 | sort_regions(zu_obj, by = "coord", decreasing = FALSE)
|
zu_obj |
A ZentUtils object. |
by |
Sort by chromosomal coordinates ("coord") or column 5 of the imported ranges (automatically named "score" upon import). |
decreasing |
Whether the GRanges object should be sorted in descending order. |
A sorted GRanges object in the 'regions' slot of the ZentUtils object (overwrites original region order).
1 | zent <- sort_regions(zent, by = "score", decreasing = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.