plot_heatmap | R Documentation |
The exposures for different signatures can be
visualized using a heatmap with this function.
Heatmaps make it easier to visualize the data by
representing the magnitude of exposure values
as color in 2-dimensions. The variation in color
intensity can help see if the exposures are clustered
or how they vary over space. Exposures can be
normalized by providing the proportional
argument.
Column annotations can also be seen by passing the col_annot
argument.
plot_heatmap(
res_annot,
proportional = FALSE,
show_column_names = FALSE,
show_row_names = TRUE,
scale = TRUE,
subset_tumor = NULL,
subset_signatures = NULL,
annotation = NULL,
...
)
res_annot |
A |
proportional |
If |
show_column_names |
Boolean check. If |
show_row_names |
Boolean check. If |
scale |
Boolean check. If |
subset_tumor |
Users can specify certain tumor types on which they want to subset the exposure matrix for plotting the heatmap. |
subset_signatures |
Users can specify certain signatures on which they want to subset the exposure matrix plotting the heatmap. |
annotation |
Users have the option of plotting the exposure matrix based on their given annotation like Tumor_Subtypes or age. Error given if the user given annotation doesn't exist in the res_annot annotation object. |
... |
Ellipsis used for passing any arguments directly to the ComplexHeatmap's heatmap function. |
Generates a heatmap for using the exposure matrix.
data(res_annot)
plot_heatmap(res_annot = res_annot, proportional = TRUE, scale = TRUE,
annotation = "Tumor_Subtypes")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.