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

bioconductor-deconvr

This package provides a collection of functions designed for analyzing deconvolution of the bulk sample(s) using an atlas of reference omic signature profiles and a user-selected model. Users are given the option to create or extend a reference atlas and,also simulate the desired size of the bulk signature profile of the reference cell types.The package includes the cell-type-specific methylation atlas and, Illumina Epic B5 probe ids that can be used in deconvolution. Additionally,we included BS

インストール方法を見る

含まれるファイル(1)

  • SKILL.md5.9 KB

SKILL.md(原文)

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

deconvR

Workflows

Standard Workflow

Map WGBS methylation data to Illumina probe IDs and predict cell-type proportions using a reference atlas.

library(deconvR)
data("HumanCellTypeMethAtlas")
data("IlluminaMethEpicB5ProbeIDs")

# Load WGBS data
load(system.file("extdata", "WGBS_GRanges.rda", package = "deconvR"))

# Map WGBS genomic coordinates to probe IDs
mapped_WGBS_data <- BSmeth2Probe(probe_id_locations = IlluminaMethEpicB5ProbeIDs, 
                                 WGBS_data = WGBS_GRanges,
                                 multipleMapping = TRUE,
                                 cutoff = 10)

# Perform deconvolution
deconvolution <- deconvolute(reference = HumanCellTypeMethAtlas, 
                             bulk = mapped_WGBS_data)
deconvolution$proportions

Input is a GRanges object of WGBS data and a probe ID location reference; output is a dataframe of predicted cell-type proportions.

Atlas Extension And Signature Generation

Extend an existing reference atlas with new sample data or construct tissue-specific CpG/DMP signature matrices.

library(deconvR)
data("HumanCellTypeMethAtlas")

# Simulate new sample data
samples <- simulateCellMix(3, reference = HumanCellTypeMethAtlas)$simulated

# Prepare sample metadata
sampleMeta <- data.table::data.table("Experiment_accession" = colnames(samples)[-1],
                                     "Biosample_term_name" = "new cell type")

# Extend the reference atlas
extended_matrix <- findSignatures(samples = samples, 
                                 sampleMeta = sampleMeta, 
                                 atlas = HumanCellTypeMethAtlas,
                                 IDs = "IDs")

Inputs are a sample matrix, metadata table, and reference atlas; output is an extended reference matrix.

When to Use

  • Predicting cell-type proportions from bulk DNA methylation data using deconvolute.
  • Mapping WGBS genomic coordinates to Illumina probe IDs using BSmeth2Probe.
  • Simulating bulk omic mixtures with known proportions using simulateCellMix.
  • Extending a reference atlas or generating tissue-specific CpG/DMP signatures using findSignatures.

When NOT to Use

  • For single-cell RNA-seq clustering or cell-type annotation, use Seurat or scran because deconvR is designed for bulk deconvolution.
  • For differential methylation locus identification without deconvolution, use methylKit because deconvR focuses on signature-based deconvolution.

Data Requirements

  • Reference Atlas: A dataframe of cell types (columns) and CpG loci (rows, e.g., Illumina Probe IDs) containing methylation values between 0 and 1 (e.g., HumanCellTypeMethAtlas).
  • Bulk Data: WGBS data as a GRanges object (e.g., WGBS_GRanges) or a methylKit object, or mapped probe-level data.
  • Metadata: A data.table or data.frame mapping sample accessions to biosample terms.

Key Parameters

  • probe_id_locations: A GRanges object containing probe IDs and genomic coordinates.
  • WGBS_data: A GRanges or methylKit object containing methylation values.
  • multipleMapping (TRUE): Logical indicating whether to allow multiple mapping in BSmeth2Probe.
  • cutoff (10): Minimum coverage cutoff for mapping.
  • reference: Reference atlas dataframe used for deconvolution.
  • bulk: Mapped bulk methylation data dataframe.
  • IDs: Column name containing probe or gene IDs.
  • tissueSpecCpGs (FALSE): Logical to construct tissue-based methylation signature matrix.

Best Practices

  • Check deconvolution performance by comparing simulated mixtures from simulateCellMix with deconvolute predictions.
  • Verify that the reference matrix and bulk samples use the same identifier type (e.g., Illumina Probe IDs or Gene names).
  • Use BSmeth2Probe to map WGBS coordinates to probe IDs before running deconvolution.
  • Evaluate deconvolution quality using the partial R-squared values returned by deconvolute.

Common Pitfalls

  • Mismatching ID column names: Ensure the IDs parameter in findSignatures matches the ID column name of the reference atlas and bulk data.
  • Using unmapped WGBS coordinates directly: Map coordinates to probe IDs first using BSmeth2Probe before running deconvolute.
  • Setting conflicting signature flags: Ensure only one of tissueSpecCpGs or tissueSpecDMPs is set to TRUE as they cannot be run together.

Alternatives

  • methylKit for multi-sample DNA methylation analysis and differential methylation.
  • minfi for analyzing Illumina Infinium Methylation Cleanup and normalization.
  • Seurat for single-cell level expression analysis and integration.

Citations

  • Moss, J. et al. (2018). Comprehensive human cell-type methylation atlas reveals origins of circulating cell-free DNA in health and disease. Nature communications, 9(1), 1-12.

References

レビュー

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

同じリポジトリのスキル

概要と使いどころ

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 のスキルをすべて見る

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