R package applies ensemble learning for single-cell differential expression analysis on single-cell RNA-seq dataset. Besides, we also develop a web service (e.g., Shiny Application) for users who do not have a strong programming background. Just load on the website , upload the data and download the results. Enjoy!
However, if you prefer to apply scDEA using R. The first step is to install scDEA in R.
The scDEA package has the following R-pakage dependencies: BPSC, DEsingle, DESeq2, edgeR, MAST, monocle, scDD, limma, Seurat, zingeR, SingleCellExperiment, scater, aggregation. In the dependencies, you can load on most of dependency packages on your R. If the dependencies are not installed correctly, please install them by yourself. In my experience, the scDEA can't install BPSC, DEsingle and zingeR automatically. Hence, we advise, users should install BPSC, DEsingle and zingeR firstly by the following instruction. Then, install scDEA and run scDEA. Enjoy!
library(devtools)
install_github("nghiavtr/BPSC")
if (!requireNamespace("BiocManager", quietly = TRUE))
install.packages("BiocManager")
BiocManager::install("DEsingle")
if (!requireNamespace("BiocManager", quietly = TRUE))
install.packages("BiocManager")
BiocManager::install("DESeq2")
if (!requireNamespace("BiocManager", quietly = TRUE))
install.packages("BiocManager")
BiocManager::install("edgeR")
if (!requireNamespace("BiocManager", quietly = TRUE))
install.packages("BiocManager")
BiocManager::install("MAST")
if (!requireNamespace("BiocManager", quietly = TRUE))
install.packages("BiocManager")
BiocManager::install("monocle")
if (!requireNamespace("BiocManager", quietly = TRUE))
install.packages("BiocManager")
BiocManager::install("scDD")
if (!requireNamespace("BiocManager", quietly = TRUE))
install.packages("BiocManager")
BiocManager::install("limma")
if (!requireNamespace("BiocManager", quietly = TRUE))
install.packages("BiocManager")
BiocManager::install("Seurat")
zingeR (https://github.com/statOmics/zingeR/)
library(devtools)
install_github("statOmics/zingeR")
SingleCellExperiment (http://www.bioconductor.org/packages/release/bioc/html/SingleCellExperiment.html)
if (!requireNamespace("BiocManager", quietly = TRUE))
install.packages("BiocManager")
BiocManager::install("SingleCellExperiment")
if (!requireNamespace("BiocManager", quietly = TRUE))
install.packages("BiocManager")
BiocManager::install("scater")
aggregation (https://cran.r-project.org/web/packages/aggregation/)
install.packages("aggregation")
After upper step, you can use the following commands to install scDEA from Github.
install.packages("devtools")
library("devtools")
devtools::install_github("Zhangxf-ccnu/scDEA")
Load the library scDEA in the R console, by running
library("scDEA")
data("Grun.counts.hvg")
data("Grun.group.information")
Pvals <- scDEA_individual_methods(raw.count = Grun.counts.hvg,
cell.label = Grun.group.information, DESeq2.parallel = FALSE, scDD = FALSE, monocle.parallel = FALSE)
combination.Pvals <- lancaster.combination(Pvals, weight = TRUE, trimmed = 0.2)
adjusted.Pvals <- p.adjust(combination.Pvals, adjusted.method = "bonferroni")
Please do not hesitate to contact Dr. Xiao-Fei Zhang at zhangxf@mail.ccnu.edu.cn to seek any clarifications regarding any contents or operation of the archive.