Constructor Function for MiCo (Microbial Community) Objects
newMiCo.Rd
Constructor function for MiCo objects. This function can be used to create a new MiCo object from a CSV file or from vectors of microorganisms, metabolites and fluxes.
Arguments
- data
A data frame/tibble or a path to a csv file storing community data. Not required when using the
species
,metabolites
, andfluxes
arguments.- name
A character vector representing the name of the community.
- species
character vector representing the microorganisms present in the community.
- metabolites
A character vectors representing the metabolites consumed and produced within the community.
- fluxes
A numeric vector representing the fluxes of each metabolite in the community.