plotCommunityChanges: Function to plot the changes in the community at a strain...

View source: R/plotCommunityChanges.r

plotCommunityChangesR Documentation

Function to plot the changes in the community at a strain level.

Description

Function to plot the changes in the community at a strain level.

Usage

plotCommunityChanges(cds, soi = NULL, cutoff = 0.05, rowLabs = NULL,
  subtitle = NULL, cols = 1:2, nBars = NULL, nLowPoints = TRUE)

Arguments

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

Details

None.

Value

None.

Author(s)

Chris Field <fieldc@ethz.ch>

Examples

None

cmfield/phylloR documentation built on Aug. 25, 2023, 10:07 a.m.