Description Usage Arguments Value
View source: R/format_heatmap.R
This function allows you to subset tables, create multiple colored bars for samples, change color scales, etc.
1 2 3 | format_heatmap(featureTable, metadataTable, norm = FALSE, labCol = c(),
selectField = NULL, selectValue = NULL, factorColList = list(),
colorScale = rev(heat.colors(75)), main = "", ...)
|
featureTable |
MZmine format feature table. |
metadataTable |
qiime2 format metadata table. |
norm |
perform TIC normalization. Default is FALSE. |
labCol |
two colunms data.frame with feature indexes and labels for heatmap column. Default is c(). |
selectField |
metadata field to subselect. Default is NULL. |
selectValue |
metadata field value to subselect. Default is NULL. |
factorColList |
nested list containing lists of: a vector of colors, one for each factor level, and a string with a metadata field name. Default is list(). |
colorScale |
hexadecimal vector of colors. Default is heat.colors(75). |
main |
title for heatmap plot. Default is ”. |
heatmap and color list.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.