View source: R/plotCommunityChanges.r
plotCommunityChanges | R Documentation |
Function to plot the changes in the community at a strain level.
plotCommunityChanges(cds, soi = NULL, cutoff = 0.05, rowLabs = NULL,
subtitle = NULL, cols = 1:2, nBars = NULL, nLowPoints = TRUE)
cds |
A compatible data set produced by the makeCDS() function. |
soi |
A vector containing the names of the strains of interest, matching row names of the CDS count table. |
cutoff |
A p-value cutoff to determine which strains will be included individually in the plot. |
rowLabs |
A vector of names for the strains of interest, for plotting. |
subtitle |
A subtitle for the plot. |
cols |
A vector of two colours for the bars |
nBars |
A numeric fixing the width of the plot to accommodate a certain number of bars |
nLowPoints |
A logical indicating whether or not plot individual points instead of a box-and-whisker when the number of points is less than 4 |
None.
None.
Chris Field <fieldc@ethz.ch>
None
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.