Description Usage Arguments Value Examples
Plot an annotated heatmap Plots a hierarchically clustered heatmap showing selected sample and lipid molecule annotations.
1 2 3 4 5 6 7 8 9 10 | plot_heatmap(
data,
measure = "Area",
molecule_annotation = "Class",
sample_annotation = "all",
cluster_cols = "hclust",
cluster_rows = "hclust",
scale = "rows",
...
)
|
data |
LipidomicsExperiment object. |
measure |
Which measure to plot the distribution of: usually Area,
Area Normalized, Height or Retention Time. Default is |
molecule_annotation |
The column name for lipid annotation, default to |
sample_annotation |
The column name for sample annotation, default to |
cluster_cols |
"none","hclust", or "k-means" for no clustering, hierarchical clustering, and k-means clustering of rows respectively. Default is "hclust". |
cluster_rows |
"none","hclust", or "k-means" for no clustering, hierarchical clustering, and k-means clustering of rows respectively. Default is "hclust". |
scale |
character indicating if the values should be centered and scaled in either the row direction or the column direction, or none. Corresponding values are "row", "cols" and "none". |
... |
Additional parameters passed to |
A heatmap plot
1 2 | data(data_normalized)
plot_heatmap(data_normalized, sample_annotation = "group")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.