Description Usage Arguments Value Examples
View source: R/heatmap_from_metagene.R
This function creates an ordering of regions within region groups based on
ascending or descending mean coverage. This is used with the
metagene2_heatmap
function.
1 | coverage_order(metagene, design_groups = NULL, decreasing = TRUE)
|
metagene |
The metagene object whose grouped regions should be ordered. |
design_groups |
A vector of design groups to be used for determining the
ordering. If |
decreasing |
If TRUE, regions are ordered from the highest mean coverage to the lowest mean coverage, and vice versa. |
A list, with as many elements as there are region groups in the metagene object. Each element of that list is an ordering of the regions of that group based on their mean coverage.
1 2 | demo_metagene = get_demo_metagene()
coverage_order(demo_metagene)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.