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 2 3 4 5 | metagene2_heatmap(
metagene,
region_order = as_is_region_order(metagene),
scale_trans = "identity"
)
|
metagene |
The metagene object to be plotted as a heatmap. |
region_order |
A named list with as many elements as there are region
groups, with each element containing an ordering for the
regions within that group.
The |
scale_trans |
A character string giving the transformation that should be applied to the coverage values. Common values are "identity" and "log1p". See the ggplot2 documentation for scale_continuous for more details. |
A ggplot object containing a heatmap representation of the metagene2 object.
1 2 | demo_metagene = get_demo_metagene()
metagene2_heatmap(demo_metagene)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.