跳到正文
cccskills
免费在 GitHub 公开

bioconductor-miasim

Microbiome time series simulation with generalized Lotka-Volterra model, Self-Organized Instability (SOI), and other models. Hubbell's Neutral model is used to determine the abundance matrix. The resulting abundance matrix is applied to (Tree)SummarizedExperiment objects.

中文简介正在准备中。当前显示原文说明。

实测评分 未实测

查看安装方法

包含的文件(1)

  • SKILL.md3.7 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

miaSim

Workflows

Standard Workflow

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.

When to Use

  • Simulating microbiome species abundance matrices and time series under varying ecological assumptions.
  • Modeling population dynamics using the generalized Lotka-Volterra model (simulateGLV) or its discrete version, the Ricker model (simulateRicker).
  • Simulating neutral community dynamics with migration, births, and deaths using Hubbell's Neutral model (simulateHubbell).
  • Generating species interaction matrices with specific distributional assumptions using powerlawA or randomA.

When NOT to Use

  • For fitting ecological models to real-world experimental data (use parameter estimation packages instead).
  • For simulating non-microbial networks that do not fit into the TreeSummarizedExperiment data container.

Data Requirements

  • Input parameters such as interaction matrices generated by powerlawA or randomA.
  • Outputs are structured as TreeSummarizedExperiment objects containing simulated abundance matrices.

Key Parameters

  • n_species: Number of species to include in the simulation or interaction matrix.
  • alpha: Power-law exponent parameter used in powerlawA.
  • diagonal: Diagonal values of the interaction matrix in randomA.
  • connectance: Connectance of the interaction matrix in randomA.
  • carrying_capacity: Carrying capacity of the community in simulateHubbell and simulateSOI.
  • migration_p: Migration probability in simulateHubbell and simulateHubbellRates.
  • t_end: End time of the simulation.
  • norm: Logical indicating whether to normalize the simulated abundances.

Best Practices

  • Ensure the number of species specified in the interaction matrix matches the number of species used in the simulation models.
  • Generate interaction matrices using powerlawA or randomA before running models like GLV, SOI, or Ricker.
  • Use randomE to generate production and consumption rate matrices specifically for the consumer-resource model (simulateConsumerResource).

Common Pitfalls

  • Specifying a different number of species in the interaction matrix than in the simulation model, which causes dimension mismatch errors. Ensure n_species matches the dimensions of A.

Alternatives

  • micodymora: A Python package for microbiome simulation.

Citations

  • Gao et al. 2023 (Case studies on microbiome simulation).

References

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

The package contains functions for exploratory oligonucleotide array analysis. The dependence on tkWidgets only concerns few convenience functions. 'affy' is fully functional without it.

中文简介正在准备中。当前显示原文说明。

bioMate-AI/biomate-bioconductor-kb7932026年6月21日 更新

This tool uses the label-tree function from HyPhy to annotate a phylogenetic tree. It allows users to select a subset of leaves using either a regular expression or a list of sequence names, and then apply a specified label to these selecte

中文简介正在准备中。当前显示原文说明。

bioMate-AI/biomate-bioconductor-kb7932026年6月21日 更新

This package provides a client for the Bioconductor AnnotationHub web resource. The AnnotationHub web resource provides a central location where genomic files (e.g., VCF, bed, wig) and other resources from standard locations (e.g., UCSC, En

中文简介正在准备中。当前显示原文说明。

bioMate-AI/biomate-bioconductor-kb7932026年6月21日 更新

apeglm provides Bayesian shrinkage estimators for effect sizes for a variety of GLM models, using approximation of the posterior for individual coefficients.

中文简介正在准备中。当前显示原文说明。

bioMate-AI/biomate-bioconductor-kb7932026年6月21日 更新

ASURAT is a software for single-cell data analysis. Using ASURAT, one can simultaneously perform unsupervised clustering and biological interpretation in terms of cell type, disease, biological process, and signaling pathway activity. Inputting a single-cell RNA-seq data and knowledge-based databases, such as Cell Ontology, Gene Ontology, KEGG, etc., ASURAT transforms gene expression tables into original multivariate tables, termed sign-by-sample matrices (SSMs).

中文简介正在准备中。当前显示原文说明。

bioMate-AI/biomate-bioconductor-kb7932026年6月21日 更新

AUCell allows to identify cells with active gene sets (e.g. signatures, gene modules...) in single-cell RNA-seq data. AUCell uses the "Area Under the Curve" (AUC) to calculate whether a critical subset of the input gene set is enriched with

中文简介正在准备中。当前显示原文说明。

bioMate-AI/biomate-bioconductor-kb7932026年6月21日 更新

查看 bioMate-AI 的全部技能

报告此技能的问题