SCEVAN (Single CEll Variational Aneuploidy aNalysis) is a comprehensive R package for analyzing copy number alterations (CNAs) in single-cell RNA sequencing (scRNA-seq) data. This vignette provides a quick introduction to get you started with SCEVAN.
# Install Bioconductor dependencies
if (!requireNamespace("BiocManager", quietly = TRUE))
install.packages("BiocManager")
BiocManager::install(c("EnsDb.Hsapiens.v86", "scran", "fgsea"))
# Install yaGST
remotes::install_github("miccec/yaGST")
# Install SCEVAN
remotes::install_github("Zaoqu-Liu/SCEVAN")SCEVAN requires a raw count matrix with:
The main function pipelineCNA() performs the complete
analysis:
The function returns a data frame with cell classifications:
| Column | Description |
|---|---|
class |
Cell type: “tumor”, “normal”, or “filtered” |
confidentNormal |
Whether cell was used as normal reference |
subclone |
Subclone assignment (if detected) |
Output files are saved to the ./output/ directory:
*heatmap.png - CNA heatmap with cell
classifications*_CN.seg - Segmentation results*_CNAmtx.RData - CNA matrix for downstream
analysisIf you use SCEVAN in your research, please cite:
De Falco, A., Caruso, F., Su, X.-D., Varone, A., & Ceccarelli, M. (2023). A variational algorithm to detect the clonal copy number substructure of tumors from scRNA-seq data. Nature Communications, 14, 1074. https://doi.org/10.1038/s41467-023-36790-9