Description Usage Arguments Value Examples
Function plotting a barplot showing number of OTUs per samples
1 2 3 4 5 6 7 8 9 10 11 | plotlySampleBarplot(
MRobj,
col_by = NULL,
xaxisTitle = "",
yaxisTitle = "",
pwidth = 600,
pheight = 450,
sortbyfreq = FALSE,
pheno_sort = NULL,
x_levels = NULL
)
|
MRobj |
containing data to plot |
col_by |
phenotype to color bars by; default is NULL |
xaxisTitle |
name of xaxis; default is "" |
yaxisTitle |
name of yaxis; default is "" |
pwidth |
overall plot width; default is 600 |
pheight |
overall plot height; default is 450 |
sortbyfreq |
boolean determining if bars should be sorted by frequency; default is FALSE |
pheno_sort |
order of pheno levels to sort by; ignored if sortbyfreq is TRUE |
x_levels |
character vector holding x values in order to be shown |
plotly plot object
1 2 | data("mouseData", package = "metagenomeSeq")
plotlySampleBarplot(mouseData)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.