Covariance Based Single-Cell Decomposition of Bulk Expression Data
### Cell-type decomposition This approach provides accurate cell-type proportion estimation by incorporating covariance structure in a given set of single-cell RNA-seq (scRNA-seq) and bulk RNA-seq datasets, see Karimnezhad (2022). The approach uses an extension of the transformation used in Jew et al. (2020).
The R package is available on CRAN
install.packages("CSCDRNA")
The package can also be installed from the GitHub repository
::install_github("empiricalbayes/CSCDRNA") devtools
You can load Bisque as follows:
library(CSCDRNA)
#Load example data.
data(example_data)
#Build ExpressionSet with bulk data.
<- Biobase::ExpressionSet(assayData = example_data$bulk.matrix)
bulk.eset
#Build ExpressionSet with single-cell data.
=example_data$sc.counts.matrix
sc.counts.matrix=example_data$individual.labels
individual.labels=example_data$cell.type.labels
cell.type.labels<- colnames(sc.counts.matrix)
sample.ids #individual.labels and cell.types should be in the same order as in sample.ids.
<- data.frame(check.names=FALSE, check.rows=FALSE,
sc.pheno stringsAsFactors=FALSE,row.names=sample.ids,
SubjectName=individual.labels,cellType=cell.type.labels)
<- data.frame(labelDescription=c("SubjectName","cellType"),
sc.meta row.names=c("SubjectName","cellType"))
<- new("AnnotatedDataFrame",data=sc.pheno, varMetadata=sc.meta)
sc.pdata <- Biobase::ExpressionSet(assayData=sc.counts.matrix,phenoData=sc.pdata)
sc.eset
#Run CSCD on the example data.
<- CSCD(bulk.eset=bulk.eset,sc.eset= sc.eset,
analysis min.p=0.3,markers=NULL,cell.types="cellType",
subj.names="SubjectName",verbose=TRUE)
#Estimated cell-type proportions.
$bulk.props
analysis
#Cell-type proportions estimated directly by counting single-cell data.
$sc.props
analysis
#The covariance based transformed bulk expression used for decomposition.
$transformed.bulk.
analysis
#Genes used in the decomposition.
$genes.used
analysis
#Euclidean norm of the residuals for each individual's proportion estimates.
$rnorm analysis
Jew, B. et al. (2020) Accurate estimation of cell composition in bulk expression through robust integration of single-cell information. Nat Commun 11, 1971. https://doi.org/10.1038/s41467-020-15816-6
Karimnezhad, A. (2022) More accurate estimation of cell composition in bulk expression through robust integration of single-cell information. https://www.biorxiv.org/content/10.1101/2022.05.13.491858v1