Skip to contents

A function that creates synthetic data suitable for demonstration purposes of the fsmc package.

Usage

makeSynMiCo(
  name,
  n_species,
  max_met,
  scale_fac = 2,
  seed = FALSE,
  dead_ends = FALSE,
  MiCo = TRUE
)

Arguments

name

Character string giving the desired name of the community.

n_species

Number of species in the community

max_met

Maximum number of metabolites in the communities

scale_fac

Scaling factor

seed

Seed for reproducibility

dead_ends

Logical value to toggle dead ends in data

MiCo

Logical value to toggle return of MiCo object or tibble.

Value

List with n_co number of communities.

Examples

makeSynMiCo("Ex. Community", n_species = 5, max_met = 10)
#> Ex. Community: MiCo (MicrobialCommunity) Object
#> - Unique microorganisms (MO): 5
#> - Unique metabolites (met): 10