Description Usage Arguments Value Examples
View source: R/inter_functions.R
This function plots a heatmap of feature abundance.
1 2 3 4 5 6 7 8 9 10 |
aggdat |
aggregated MRExperiment |
features |
Vector of features to plot. If NULL, the top 'nfeat' features in terms of 'sort_by' will be plotted. |
log |
Log2 transform data. Default is TRUE. |
sort_by |
Dispersion measure to sort features, one of "Fano", "MAD", and "Variance" |
nfeat |
Number of features to display. Default is 50. |
col_by |
Vector of phenotypes for coloring. |
row_by |
Name of feature level for coloring. |
plotTitle |
Plot title. By default, no title. |
plotly heatmap
1 2 3 | data("mouseData", package = "metagenomeSeq")
aggdat <- aggFeatures(mouseData, level = "genus")
plotHeatmap(aggdat, sort_by = "Fano")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.