generate_community: Generate a simulated microbial community.

Description Usage Arguments Details Value References See Also Examples

Description

Following the approach of Steven et al. 2017, generate_community generates a simulated microbial community, including both cell and ribosomal RNA abundances.

Usage

1

Arguments

n

Number of OTUs in the simulated community (i.e. richness)

Details

rDNA abundances (i.e. cell counts) for each OTU are drawn from a log-normal distribution with parameters μ = 0, σ = 1.

The community is randomly divided into metabolic states of dead, dormant, stationary or growing, with the proportion of each state drawn at random from a uniform distribution. The metabolic state of each OTU is independent of the OTU's rDNA abundance.

Each OTU is assigned a ribosomal amplification value, representing the number of ribosomes per cell. This value is determined by the cell's metabolic state:

The rRNA:rDNA ratio is calculated for each OTU.

Note that there are some key differences to the approach described in Steven et al. 2017:

  1. Only integer rDNA abundance are permitted (Steven et al. allowed fractional abundances)

  2. The ribosome amplification value for each metabolic state is drawn from a uniform distribution (Steven et al. selected at random one of three discrete values representing low, medium and high amplification)

Value

A tibble containing the simulated community.

References

Steven, B., Hesse, C., Soghigian, J., Gallegos-Graves, L. V. & Dunbar, J. Simulated rRNA/DNA Ratios Show Potential To Misclassify Active Populations as Dormant. Appl Env Microbiol 83, e00696-17-11 (2017).

See Also

sample_community

Examples

1

wilkox/rdrsimulate documentation built on May 13, 2019, 12:40 p.m.