本文へ移動
cccskills
無料GitHub で公開

bioconductor-mudata

Save MultiAssayExperiments to h5mu files supported by muon and mudata. Muon is a Python framework for multimodal omics data analysis. It uses an HDF5-based format for data storage.

インストール方法を見る

含まれるファイル(1)

  • SKILL.md4.1 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

MuData

Workflows

Standard Workflow

Save MultiAssayExperiments to h5mu files supported by muon and mudata. Muon is a Python framework for multimodal omics data analysis. It uses an HDF5-based format for data storage.

library(MuData)
library(MultiAssayExperiment)

# Write a MultiAssayExperiment object to an H5MU file
writeH5MU(mae, "citefuse_example.h5mu")

# Read an H5MU file back into a MultiAssayExperiment object (backed on disk)
mae_backed <- readH5MU("citefuse_example.h5mu", backed = TRUE)

Input: A MultiAssayExperiment object containing multimodal single-cell data. Output: An HDF5-based .h5mu file written to disk, or a MultiAssayExperiment object read from disk.

When to Use

  • To save multimodal datasets represented as MultiAssayExperiment objects into .h5mu files using writeH5MU for cross-platform sharing with Python frameworks like muon or mudata.
  • To read .h5mu files into R as MultiAssayExperiment objects using readH5MU.
  • To load large-scale multimodal datasets on-disk without loading them fully into memory by setting backed = TRUE in readH5MU to return a DelayedMatrix.

When NOT to Use

  • For storing unimodal datasets, use standard AnnData formats or writeH5AD because MuData is specifically designed for multimodal data.
  • For saving complex R-specific objects that have no HDF5/Python equivalent, use saveRDS because writeH5MU only exports standard modalities and metadata.
  • For performing downstream single-cell analysis (like clustering or differential expression) directly on the .h5mu file, use packages like scran or Seurat because MuData is strictly an I/O interface.

Data Requirements

  • Input format: MultiAssayExperiment containing experiments of class SingleCellExperiment, SummarizedExperiment, or matrix.
  • Structure: Multiple modalities (e.g., RNA, ADT, HTO) stored as distinct experiments within the MultiAssayExperiment.
  • Normalization state: Can store both raw counts (e.g., in counts assay) and normalized counts (e.g., in logcounts or clr assays).

Key Parameters

  • backed (FALSE): If set to TRUE in readH5MU, keeps matrices on disk and loads them as DelayedMatrix objects to save memory.

Best Practices

  • Ensure all modalities are properly aligned and harmonized within a MultiAssayExperiment before writing.
  • Store normalized assays (e.g., logcounts or clr) in the corresponding experiment layers alongside raw counts.
  • Use backed = TRUE when reading very large .h5mu files to prevent out-of-memory errors.

Common Pitfalls

  • Attempting to read unsupported Python-specific structures (like pairwise graphs or multimodal embeddings) into R: readH5MU will skip these because MultiAssayExperiment does not natively support them.
  • Writing mixed data types or unharmonized sample maps: Ensure the MultiAssayExperiment is harmonized using standard constructor checks before calling writeH5MU.

Alternatives

  • SingleCellMultiModal for downloading pre-packaged multimodal datasets.
  • rhdf5 for low-level HDF5 file manipulation in R.
  • Seurat for an alternative single-cell multimodal object representation and I/O.

Citations

  • Ramos M, Schiffer L, Re A, Azhar R, Basunia A, Cabrera CR, Chan T, Chapman P, Davis S, Gomez-Cabrero D, Culhane AC, Haibe-Kains B, Hansen K, Kodali H, Louis MS, Mer AS, Reister M, Morgan M, Carey V, Waldron L (2017). "Software For The Integration Of Multi-Omics Experiments In Bioconductor." Cancer Research, 77(21); e39-42.

References

  • Homepage: bioconductor.org/packages/mudata
  • Vignette: bioconductor.org/packages/release/bioc/vignettes/mudata/inst/doc/mudata.html

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

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-kb8042026年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-kb8042026年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-kb8042026年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-kb8042026年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-kb8042026年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-kb8042026年6月21日 更新

bioMate-AI のスキルをすべて見る

このスキルの問題を報告する