Crandore Hub

SCdeconR

Deconvolution of Bulk RNA-Seq Data using Single-Cell RNA-Seq Data as Reference

Streamlined workflow from deconvolution of bulk RNA-seq data to downstream differential expression and gene-set enrichment analysis. Provide various visualization functions.

README

# SCdeconR

<img src="man/figures/SCdeconR.png" alt="" align="middle" width="100%" height="100%">

SCdeconR aims to provide a streamlined workflow from deconvolution of bulk RNA-seq data to downstream differential and gene-set enrichment analysis. SCdeconR provides a simulation framework to generate artificial bulk samples for benchmarking purposes. It also provides various visualization options to compare the influence of adjusting for cell-proportions differences on differential expression and pathway analyses. 

## Installation

``` r
# install devtools if it's not installed already
if (!require("devtools", quietly = TRUE)) install.packages("devtools")
devtools::install_github("liuy12/SCdeconR")
```

To use [scaden](https://github.com/KevinMenden/scaden) within SCdeconR, follow the below steps:

```r
# install reticulate package first
install.packages("reticulate")
```

Intall scaden python package:

Use pip: 

`pip install scaden`

Or use Conda:

`conda install scaden`

Then provide your desired python path (that have scaden installed) to option `pythonpath` for function `scdecon`. You should be good to go. 

The following packages are optional, and only needed for specific methods within SCdeconR. 

``` r
# install BiocManager if it's not installed already
if (!require("BiocManager", quietly = TRUE)) install.packages("BiocManager")

# data normalization
## scater
BiocManager::install("scater")

## scran
BiocManager::install("scran")

## Linnorm
BiocManager::install("Linnorm")

## SingleCellExperiment
BiocManager::install("SingleCellExperiment")

# deconvolution methods
## FARDEEP
install.packages("FARDEEP")

## nnls
install.packages("nnls")

## MuSiC
devtools::install_github('xuranw/MuSiC')

## SCDC
devtools::install_github("meichendong/SCDC")

# differential expression
## DESeq2
BiocManager::install("DESeq2")

# cell-type specific gene expression
## spacexr
devtools::install_github("dmcable/spacexr", build_vignettes = FALSE)

# interactive plot
install.packages("plotly")
```

## Usage

```r
library(SCdeconR)
```

See [here](https://liuy12.github.io/SCdeconR/) for detailed documentation and tutorials. 

See [here](https://htmlpreview.github.io/?https://github.com/Liuy12/SCdeconR/blob/master/inst/reprod_doc/Reproducible_document.html) for a document to reproduce the results from the study.

Versions across snapshots

VersionRepositoryFileSize
1.0.0 rolling linux/jammy R-4.5 SCdeconR_1.0.0.tar.gz 1.5 MiB
1.0.0 rolling linux/noble R-4.5 SCdeconR_1.0.0.tar.gz 1.5 MiB
1.0.0 rolling source/ R- SCdeconR_1.0.0.tar.gz 1.5 MiB
1.0.0 latest linux/jammy R-4.5 SCdeconR_1.0.0.tar.gz 1.5 MiB
1.0.0 latest linux/noble R-4.5 SCdeconR_1.0.0.tar.gz 1.5 MiB
1.0.0 latest source/ R- SCdeconR_1.0.0.tar.gz 1.5 MiB
1.0.0 2026-04-26 source/ R- SCdeconR_1.0.0.tar.gz 1.5 MiB
1.0.0 2026-04-23 source/ R- SCdeconR_1.0.0.tar.gz 1.5 MiB
1.0.0 2025-04-20 source/ R- SCdeconR_1.0.0.tar.gz 1.5 MiB

Dependencies (latest)

Depends

Imports

Suggests