본문으로 건너뛰기
cccskills
무료GitHub에 공개

bioconductor-mast

Methods and models for handling zero-inflated single cell assay data.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md5.9 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

MAST

Dependencies & Environment

Package-intrinsic requirements from the Bioconductor landing page — reproduce in any R environment.

  • Version: 1.38.0 · Bioconductor: 3.23 · R: ≥ 4.6
  • Depends: SingleCellExperiment
  • Imports: Biobase, BiocGenerics, S4Vectors, data.table, ggplot2, plyr, stringr, abind, reshape2, SummarizedExperiment, progress, Matrix
  • Install: BiocManager::install("MAST")

When to Use

  • Zero-Inflated scRNA-seq DE: Performing differential expression analysis on single-cell RNA-seq data using a Hurdle model (zlm) to account for bimodal expression patterns.
  • Data Filtering: Filtering outlier cells and wells where discrete and continuous parts of the signal deviate significantly, visualized via plotSCAConcordance and applied via mast_filter.
  • Two-Sample Testing: Conducting combined normal theory/binomial tests between pairs of groups using the LRT function.

When NOT to Use

  • Raw Integer Counts: For un-normalized, raw integer counts; use zinbwave instead because MAST expects log-transformed, approximately scale-normalized data.
  • Basic QC and Visualization: For simple quality control metric calculation without differential expression; use scater instead because it provides dedicated functions for QC and PCA plotting.

Data Requirements

  • Input Format: A SingleCellAssay object, which can be constructed from a data.frame (FromFlatDF), a matrix (FromMatrix), or upcast from a SingleCellExperiment (SceToSingleCellAssay).
  • Normalization State: Log-transformed, scale-normalized data that has been thresholded (e.g., $\log_2(\text{TPM} + 1)$).
  • Structure: Supports dense matrices, sparse Matrix objects, and HDF5Array backends for out-of-memory data.

Key Parameters

  • sca: The SingleCellAssay object containing the expression data and metadata.
  • formula: Symbolic notation specifying the covariates for the Hurdle model in zlm (e.g., ~ Population + Subject.ID).
  • method: The modeling function wrapper used in zlm (e.g., 'glmer' for mixed models or 'glm').
  • ebayes: Logical in zlm indicating whether to use an empirical Bayes adjustment for the dispersion estimate.
  • useContinuousBayes: Logical in zlm to employ Bayesian linear regression for the continuous component.
  • exprs_value: Character string indicating which assay slot contains the log-like data to operate on (e.g., 'logcounts').

Best Practices

  • Upcast existing SingleCellExperiment objects to SingleCellAssay using SceToSingleCellAssay to ensure compatibility and validity checks.
  • Explicitly name the assay slot containing log-like data (e.g., exprs_value = 'logcounts') when calling zlm if it is not the default.
  • Enable multicore support to speed up model fitting by setting options(mc.cores=4) before running zlm.
  • Use burdenOfFiltering and plotSCAConcordance to visualize the impact of filtering criteria before applying them.

Common Pitfalls

  • Providing Raw Counts: Passing raw integer counts to zlm leads to suboptimal model performance; Fix: Ensure the input assay contains log-transformed, scale-normalized data (e.g., log2 TPM + 1).
  • Memory Exhaustion: Running linear models on extremely large datasets exceeds RAM; Fix: Store the data using a sparse Matrix or HDF5Array backend and pass it to FromMatrix.
  • Missing Assay Detection: MAST fails to find the correct expression values if the assay is uniquely named; Fix: Ensure the assay name matches MAST's default log-like names (e.g., 'et', 'logcounts') or specify it explicitly.

Alternatives

  • zinbwave: Uses zero-inflated negative binomial models directly on integer count data rather than requiring log-transformed inputs.
  • scater: Focuses on pre-processing, quality control, and visualization of scRNA-seq data rather than complex hurdle-model differential expression.
  • SCnorm: Designed specifically for the robust normalization of single-cell RNA-seq data rather than statistical testing.

Citations

  • Finak, Greg, Andrew McDavid, Masanao Yajima, Jingyuan Deng, Vivian Gersuk, Alex K Shalek, Chloe K Slichter, et al. 2015. “MAST: A Flexible Statistical Framework for Assessing Transcriptional Changes and Characterizing Heterogeneity in Single-Cell RNA Sequencing Data.” Genome Biol. 16 (1): 1–13.
  • McDavid, Andrew, Lucas Dennis, Patrick Danaher, Greg Finak, Michael Krouse, Alice Wang, Philippa Webster, Joseph Beechem, and Raphael Gottardo. 2014. “Modeling Bi-Modality Improves Characterization of Cell Cycle on Gene Expression in Single Cells.” PLoS Comput. Biol. 10 (7): e1003696.

References

<!-- biomate-cta -->

Run this on BioMate

This skill is the knowledge layer — when, why, and how to use mast. To run this analysis on your own data with managed compute, automated QC, and reproducible outputs, use BioMate — free to start.

▶ Open mast on BioMate →

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 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의 스킬 모두 보기

이 스킬의 문제 신고