View source: R/feature_functions.R
plotAvgAbundance | R Documentation |
This function plots the average relative abundance of the top abundant features.
plotAvgAbundance( aggdat, level, ind = seq_len(10), plotTitle = "", ylab = "Reads", facet1 = NULL, facet2 = NULL, source = "A", pwidth = 500, pheight = 150 )
aggdat |
aggregated MRExperiment object |
level |
Feature level. |
ind |
Indices of top abundant features to plot. Rest of features are aggregated and displayed as "other". |
plotTitle |
Plot title. Default shows no title. |
ylab |
Y-axis label. Default is "Reads" |
facet1 |
Phenotype for facet 1. |
facet2 |
Phenotype for facet 2. |
source |
name of the plot (needed for event handling); default is "A" |
pwidth |
overall plot width; default is 500 |
pheight |
overall plot height; default is 150 |
plotly plot
Janina Reeder
data("mouseData", package = "metagenomeSeq") aggdat <- aggFeatures(mouseData, level = "genus") plotAvgAbundance(aggdat, level = "genus")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.