Changelog
Source:NEWS.md
ramen (development version)
Breaking changes
-
EffectiveConsumptionandEffectiveProductionassays now store the flux-corrected effective flux (matching equation 2 of the underlying thesis), not the bare Hill-1 perplexity . Same units as theConsumption/Productionassays. Pre-Bioconductor release, no users yet, so no deprecation cycle. - Two new assays expose the previous quantity under explicit names:
nEffectiveSpeciesConsumptionandnEffectiveSpeciesProductioncarry the Hill-1 effective number of contributing species (unitless, ), mirroring the existingnSpeciescount. Algebraic identity:EffectiveConsumption = Consumption * nEffectiveSpeciesConsumption(modulo two-decimal rounding). -
consortia()no longer has aConsortiumMetabolismmethod. The plural noun applies only to containers of consortia, so the accessor is now scoped toConsortiumMetabolismSet(returns the list of constituent CMs). For the underlying edge list of a singleConsortiumMetabolism, useas.data.frame(cm).consortia(cma)continues to raise an error – by design,ConsortiumMetabolismAlignmentis a result object that records only its inputs’ names rather than retaining copies of them. -
plotDirectedFlow()parameters renamed to lowerCamelCase throughout, with British-English spelling for colour-related args. The size-bearing arguments (nodeSize,nodeLabelSize,edgeArrowSize) now use ggraph millimetre units rather than igraphcexfactors, with defaults adjusted for legibility. This is a hard rename – no aliases for the old names.
New methods
-
as.data.frame()is now defined forConsortiumMetabolism(returns the edge list with columnsmet,species,flux) andConsortiumMetabolismSet(row-binds per-CM edges and prefixes aconsortiumcolumn). The pre-existingConsortiumMetabolismAlignmentmethod is unchanged.
Other changes
-
importMisosoup()gains abiomassPatternargument (Perl regex) so users can point it at arbitrary biomass-reaction names. The default matchesGrowth_<sp>,R_Biomass_<sp>, andR_R_BIOMASS_<sp>case-insensitively (MiSoSoup’s biomass reaction name is model-dependent). -
importMisosoup()now records CMSC/MSC provenance on each returned CM asmetadata(cm)$misosoupMode("CMSC"or"MSC") andmetadata(cm)$focalStrain(character orNA). Thecommunity_growthsummary row is captured asmetadata(cm)$communityGrowthinstead of leaking into the media bucket. - Internal documentation, comments, and user-facing CLI messages standardised on British English spelling (
colour,centre,organise, etc.). External-API identifiers from upstream packages (igraph, ggplot2, ColorBrewer) keep their original spelling. TheLanguage: en-GBDESCRIPTION field will follow in a separate commit.
ramen 0.0.0.9001
New Features
- Initial development release.
- Three core S4 classes:
ConsortiumMetabolism,ConsortiumMetabolismSet, andConsortiumMetabolismAlignment, all inheriting fromTreeSummarizedExperiment. - Import microbial metabolic network data from MiSoSoup YAML format via
importMisosoup(). - Pairwise and multiple alignment of consortium metabolisms using functional overlap scores (FOS), Jaccard, Bray-Curtis, and redundancy overlap metrics.
- Visualisation methods including heatmaps, network plots, and alignment score plots.
- Functional group analysis with hierarchical clustering of species by shared metabolic pathways.