software-factory
MAmattpocock/skills337k4,978 new stars in the last 7 days
library(miaSim)
# 1. Generate species interaction matrix
A_normal <- powerlawA(n_species = 4, alpha = 3)
# 2. Simulate time series using generalized Lotka-Volterra (gLV) model
tse_glv <- simulateGLV(
n_species = 4,
A = A_normal,
t_start = 0,
t_store = 1000,
stochastic = FALSE,
norm = FALSE
)
# 3. Simulate community using Hubbell Neutral model
tse_hubbell <- simulateHubbell(
n_species = 8,
M = 10,
carrying_capacity = 1000,
k_events = 50,
migration_p = 0.02,
t_end = 100
)
Input/Output Note: Inputs are ecological parameters (species count, interaction matrices, carrying capacity); outputs are simulated abundance matrices stored in TreeSummarizedExperiment objects.
simulateGLV) or its discrete version, the Ricker model (simulateRicker).simulateHubbell).powerlawA or randomA.TreeSummarizedExperiment data container.powerlawA or randomA.TreeSummarizedExperiment objects containing simulated abundance matrices.powerlawA.randomA.randomA.simulateHubbell and simulateSOI.simulateHubbell and simulateHubbellRates.powerlawA or randomA before running models like GLV, SOI, or Ricker.randomE to generate production and consumption rate matrices specifically for the consumer-resource model (simulateConsumerResource).n_species matches the dimensions of A.micodymora: A Python package for microbiome simulation.MAmattpocock/skills337k4,978 new stars in the last 7 days
MAmattpocock/skills337k4,978 new stars in the last 7 days
AFaffaan-m/ECC315k4,381 new stars in the last 7 days
AFaffaan-m/ECC315k4,381 new stars in the last 7 days
AFaffaan-m/ECC315k4,381 new stars in the last 7 days
DIDietrichGebert/ponytail203k4,904 new stars in the last 7 days