跳到正文
cccskills
免费在 GitHub 公开

bioconductor-genomicinstability

This package contain functions to run genomic instability analysis (GIA) from scRNA-Seq data. GIA estimates the association between gene expression and genomic location of the coding genes. It uses the aREA algorithm to quantify the enrichment of sets of contiguous genes (loci-blocks) on the gene expression profiles and estimates the Genomic Instability Score (GIS) for each analyzed cell.

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

实测评分 未实测

查看安装方法

包含的文件(1)

  • SKILL.md6.1 KB

SKILL.md(原文)

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

genomicInstability

Workflows

Standard Workflow

Estimate genomic instability scores and neoplastic likelihood for single cells without a prior normal reference.

library(genomicInstability)

# 1. Estimate association between gene expression and loci-blocks
cnv <- inferCNV(tpm_matrix)

# 2. Estimate the relative likelihood of cells being neoplastic
cnv <- genomicInstabilityScore(cnv)
cnv <- giLikelihood(cnv)

# 3. Plot the GIS density and fitted Gaussian models
giDensityPlot(cnv)

# 4. Refine likelihood estimation by manually specifying normal and tumor components
cnv <- giLikelihood(cnv, recompute=FALSE, normal=1, tumor=2:3)

Input: A normalized single-cell gene expression matrix (TPM); Output: An updated inferCNV object containing genomic instability scores (GIS) and relative likelihoods.

Reference Based Gia

Refine genomic instability analysis by using a subset of cells identified as normal (or an external normal dataset) as a reference null model.

library(genomicInstability)

# 1. Read User Inputs and define normal reference matrix
null_cells <- tpm_matrix[, cnv$gi_likelihood < 0.25, drop=FALSE]

# 2. Run inferCNV using the normal reference matrix
cnv_norm <- inferCNV(tpm_matrix, nullmat=null_cells)

# 3. Calculate GIS and estimate likelihood simultaneously
cnv_norm <- genomicInstabilityScore(cnv_norm, likelihood=TRUE)

# 4. Visualize the GIS density, fitted models, and null model
giDensityPlot(cnv_norm)

# 5. Plot the loci-block enrichment heatmap
plot(cnv_norm, output="heatmap.png", resolution=120, gamma=2)

Input: A normalized single-cell gene expression matrix and a designated reference matrix of normal cells; Output: A refined inferCNV object and a saved enrichment heatmap image.

When to Use

  • To estimate genomic instability scores (GIS) for individual cells from single-cell RNA-seq data using genomicInstabilityScore().
  • To identify putative neoplastic cells in a heterogeneous sample without requiring a prior normal reference using giLikelihood().
  • To perform reference-based genomic instability analysis by specifying a normal cell matrix via the nullmat parameter in inferCNV().

When NOT to Use

  • For DNA-based copy number variation detection, use packages like copynumber because genomicInstability infers genomic instability from transcriptional profiles.
  • For bulk RNA-seq sample classification where single-cell resolution is not required, use standard gene set enrichment packages like GSVA because GIA is optimized for single-cell resolution.

Data Requirements

  • Input Format: A standard R matrix of gene expression values (e.g., Transcripts-per-million, TPM) or a SingleCellExperiment object.
  • Structure: Genes (using EntrezIDs or symbols) as rows and individual cells as columns.
  • Normalization State: Fully normalized expression values (e.g., TPM) are required as input to inferCNV().

Key Parameters

  • nullmat (NULL): A matrix of gene expression for normal (non-neoplastic) reference samples passed to inferCNV().
  • species ("human"): Species to be analyzed (currently "human" and "mouse" are implemented) in inferCNV().
  • k (100): Number of genes for each loci-block in inferCNV().
  • skip (25): Displacement, in number of genes, between loci-blocks in inferCNV().
  • likelihood (FALSE): Logical indicating whether to compute genomic instability likelihood simultaneously in genomicInstabilityScore().
  • recompute (TRUE): Logical indicating whether to recompute the mixture model parameters in giLikelihood().
  • normal (1): Integer specifying which fitted Gaussian component(s) represent normal cells in giLikelihood().
  • tumor (2:3): Integer vector specifying which fitted Gaussian component(s) represent tumor cells in giLikelihood().

Best Practices

  • Set a random seed using set.seed() before running downstream analyses to ensure reproducibility of the mixture model fitting.
  • Inspect the raw GIS density distribution using plot(density(cnv$gis)) to verify if it exhibits a multi-modal distribution before fitting Gaussian models.
  • Visualize the fitted Gaussian models using giDensityPlot() to confirm that the assigned normal and tumor components align with the observed peaks.
  • Use cells with low genomic instability likelihood (e.g., gi_likelihood < 0.25) as a reference null model (nullmat) in a second iteration of inferCNV() to refine the analysis.

Common Pitfalls

  • Incorrect Gaussian component assignment: Fix by manually specifying the normal and tumor component indices in giLikelihood().
  • Using raw unnormalized count data: Fix by converting raw counts to TPM or another normalized format before running inferCNV().
  • Mismatched gene identifiers: Fix by ensuring the input matrix uses EntrezIDs or compatible symbols that match the genomic location database for the specified species.

Alternatives

  • infercnv (Bioconductor) for detailed copy number variation profiling from single-cell RNA-seq using physical genomic position maps.
  • Seurat for general single-cell clustering and marker-based cell type annotation.
  • scran for single-cell variance modeling and normalization.

Citations

  • Puram et al. 2017, Cell (for the HNSC dataset reference).
  • Alvarez et al. 2016, Nature Genetics (for the aREA algorithm reference).

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 的全部技能

报告此技能的问题