SingleCellForge v2 is a reproducible R/Bioconductor workflow for preprocessing, quality control, dimensionality reduction, clustering, contaminant identification, paired pseudobulk differential expression, cross-cell-type comparison and functional enrichment of single-cell RNA-sequencing data.
The workflow was demonstrated using the Kang18 stimulated-versus-control peripheral blood mononuclear cell dataset.
- Processed 29,065 original cells.
- Retained 24,563 QC-filtered singlet cells.
- Retained 13,306 expressed genes.
- Selected 2,000 highly variable genes.
- Performed PCA using 50 principal components.
- Used the first 30 principal components for UMAP and graph construction.
- Identified 14 Leiden clusters.
- Detected and excluded an erythroid-contaminant cluster.
- Generated 128 donor-condition-cell-type pseudobulk profiles.
- Modelled paired donors using
~ donor + condition. - Analysed six major immune cell types.
- Identified 737 genes shared across at least two cell types.
- Identified 107 core-response genes shared across all six cell types.
- Identified 1,253 direction-specific response genes.
The stimulation response was dominated by interferon-associated and antiviral transcriptional programmes across all analysed immune populations.
CD14+ monocytes were the strongest overall responders, with:
- 3,185 significant genes;
- 61.56% of tested genes significant;
- 271 significant GO Biological Process and Reactome terms.
| Cell type | Significant genes | Significant percentage | Enriched terms |
|---|---|---|---|
| CD14+ Monocytes | 3,185 | 61.56% | 271 |
| CD4 T cells | 1,823 | 28.86% | 232 |
| FCGR3A+ Monocytes | 1,447 | 49.00% | 129 |
| B cells | 898 | 32.49% | 202 |
| NK cells | 656 | 28.73% | 187 |
| CD8 T cells | 417 | 22.34% | 126 |
- Dataset import and metadata standardization
- Singlet and annotation filtering
- Haemoglobin-dominated contaminant removal
- Gene prevalence filtering
- Deconvolution-based normalization
- Highly variable gene selection
- PCA and UMAP
- Shared-nearest-neighbour graph construction
- Leiden clustering
- Erythroid-contaminant identification
- Donor-condition-cell-type pseudobulk aggregation
- Paired edgeR quasi-likelihood differential expression
- MDS, BCV, MD and volcano diagnostics
- Top-gene and core-response heatmaps
- Cross-cell-type response analysis
- GO Biological Process and Reactome enrichment
- Integrated response comparison
- Automated HTML reporting
Differential expression was performed separately for each cell type using the paired donor model:
~ donor + condition
The stimulated-versus-control coefficient was tested using the edgeR quasi-likelihood framework.
The complete HTML report is located at:
results/v2/final_report/SingleCellForge_v2_final_report.html
results/v2/differential_expression/
results/v2/differential_expression/functional_enrichment/
results/v2/differential_expression/cross_celltype_comparison/
results/v2/differential_expression/final_celltype_comparison/
results/v2/final_report/
results/v2/project_audit/
The integrated response score combines normalized DEG counts and enrichment counts for within-project visualization. It is not intended as a formal biological effect-size statistic.
The workflow uses saved intermediate RDS objects, scripted analyses, tabular outputs and automated report generation. The final report includes the R session information used during rendering.
Pratik Ramchandra Chaudhari