Skip to content
cccskills
FreePublished on GitHub

bioconductor-aucell

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

The English summary is being prepared. Showing the original description.

Run score Not tested

See how to install

Files included (1)

  • SKILL.md6.1 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

AUCell

Dependencies & Environment

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

  • Version: 1.34.0 · Bioconductor: 3.23 · R: ≥ 4.6
  • Depends: DelayedMatrixStats, data.table, GSEABase, Matrix, mixtools, R.utils, SummarizedExperiment, BiocGenerics
  • Imports: DelayedArray, DelayedMatrixStats, data.table, GSEABase, Matrix, mixtools, R.utils, SummarizedExperiment, BiocGenerics
  • Install: BiocManager::install("AUCell")

When to Use

  • Single-Cell Signature Scoring: Identifying cells with active gene sets, signatures, or modules in single-cell RNA-seq data using AUCell_run.
  • Normalization-Independent Scoring: Scoring gene sets across cells independently of the gene expression units and normalization procedures by building rank-based profiles with AUCell_buildRankings.
  • Cell State Classification: Classifying cell types or states by exploring the bimodal distribution of signature activity scores and setting assignment thresholds with AUCell_exploreThresholds.
  • Dimensionality Reduction Overlay: Visualizing the activity of specific gene signatures across cell populations by coloring t-SNE or UMAP plots using AUCell_plotTSNE.

When NOT to Use

  • Bulk RNA-seq GSEA: For bulk RNA-seq gene set enrichment analysis, use fgsea instead because AUCell is specifically optimized for evaluating signatures on individual cells in highly sparse single-cell data.
  • Differential Expression of Single Genes: For differential expression of individual genes between clusters, use edgeR or scran instead because AUCell summarizes multi-gene signatures into a single AUC score per cell.

Data Requirements

  • Expression Matrix: A single-cell gene expression matrix with genes as rows and cells as columns. Ideally stored in a sparse format (e.g., dgCMatrix).
  • Gene Sets: A list of gene sets or signatures to test, provided as a GeneSetCollection or a standard R list of character vectors.

Key Parameters

  • exprMatrix: The input single-cell gene expression matrix.
  • geneSets: The gene sets or signatures to evaluate.
  • aucMaxRank: The number or percentage of top-ranked genes to use for calculating the AUC (default is often 5% of expressed genes).
  • plotStats: Logical in AUCell_buildRankings to plot the histogram of the number of detected genes per cell.
  • plotHist: Logical in AUCell_exploreThresholds to automatically plot all AUC histograms.
  • assign: Logical in AUCell_exploreThresholds to return the list of cells with an AUC value over the calculated threshold.
  • aucThr: Specific numeric threshold to manually set when plotting individual histograms with AUCell_plotHist.

Best Practices

  • Convert the expression matrix to a sparse format (dgCMatrix) before running AUCell to significantly save memory.
  • Check the distribution of detected genes per cell using plotGeneCount or plotStats=TRUE to ensure most cells have enough detected genes to support the chosen aucMaxRank.
  • Do not rely blindly on automatic threshold selection; always manually inspect the AUC histograms generated by AUCell_exploreThresholds to ensure the bimodal distribution aligns with biological expectations.
  • Save the intermediate cells_rankings object if you plan to test additional gene sets later, as building rankings is the most computationally intensive step.

Common Pitfalls

  • Memory Exhaustion: Running AUCell_buildRankings on large datasets with dense matrices can exceed RAM. Fix by converting the input matrix to dgCMatrix and utilizing parallel processing via BPPARAM.
  • Inappropriate aucMaxRank: Setting aucMaxRank higher than the number of genes detected in most cells includes noise from tied zero-expression genes. Fix by checking the quantiles from AUCell_buildRankings and adjusting aucMaxRank accordingly.
  • Small Gene Sets: Using very small gene sets (<10 genes) makes it difficult to establish a stable bimodal distribution, often resulting in cells with an AUC of 0. Fix by using larger, more robust gene sets (100-2k genes) when possible.

Alternatives

  • UCell: Uses Mann-Whitney U statistics to score gene signatures, differing by being specifically optimized for lower memory consumption on extremely large single-cell datasets.
  • GSVA: Calculates sample-wise enrichment, differing by using a kernel density estimate that is computationally heavier and less suited for the sparsity of single-cell scales.

Citations

  • Aibar et al. (2017) SCENIC: single-cell regulatory network inference and clustering. Nature Methods. doi: 10.1038/nmeth.4463

References

<!-- biomate-cta -->

Run this on BioMate

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

▶ Open aucell on BioMate →

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

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

The English summary is being prepared. Showing the original description.

bioMate-AI/biomate-bioconductor-kb793Updated Jun 21, 2026

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

The English summary is being prepared. Showing the original description.

bioMate-AI/biomate-bioconductor-kb793Updated Jun 21, 2026

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

The English summary is being prepared. Showing the original description.

bioMate-AI/biomate-bioconductor-kb793Updated Jun 21, 2026

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

The English summary is being prepared. Showing the original description.

bioMate-AI/biomate-bioconductor-kb793Updated Jun 21, 2026

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).

The English summary is being prepared. Showing the original description.

bioMate-AI/biomate-bioconductor-kb793Updated Jun 21, 2026

We propose an Asymmetric Within-Sample Transformation (AWST) to regularize RNA-seq read counts and reduce the effect of noise on the classification of samples. AWST comprises two main steps: standardization and smoothing. These steps transform gene expression data to reduce the noise of the lowly expressed features, which suffer from background effects and low signal-to-noise ratio, and the influence of the highly expressed features, which may be the result of amplification bias and other experi

The English summary is being prepared. Showing the original description.

bioMate-AI/biomate-bioconductor-kb793Updated Jun 21, 2026

See all skills by bioMate-AI

Report a problem with this skill