| DigitalDLSorter-class {digitalDLSorteR} | R Documentation |
The DigitalDLSorter Class
Description
The DigitalDLSorter object is the core of digitalDLSorteR. This object
stores different intermediate data resulting from the creation of new
context-specific deconvolution models from single-cell data. It is only used
in the case of building new deconvolution models. To deconvolute bulk samples
using pre-trained models, see deconvDigitalDLSorter function
and the package digitalDLSorteRdata.
Details
This object uses other classes to store the different types of data produced during the process:
-
SingleCellExperimentclass for single-cell RNA-Seq data, using sparse matrix from the Matrix package (dgCMatrixclass) orHDF5Arrayclass in the case of using HDF5 files as back-end (see below for more information). -
ZinbModelclass with estimated parameters for the simulation of new single-cell profiles. -
SummarizedExperimentclass for large bulk RNA-Seq data storage. -
ProbMatrixCellTypesclass for the compositional cell matrices constructed during the process. See?ProbMatrixCellTypesfor details. -
DigitalDLSorterDNNclass to store the information related to Deep Neural Network models. This step is performed usingkeras. See?DigitalDLSorterDNNfor details.
digitalDLSorteR can be used in two ways: to build new deconvolution
models from single-cell RNA-Seq data or to deconvolute bulk RNA-Seq samples
using pre-trained models available at digitalDLSorteRdata package. If
you want to build new models, see createDDLSobject function. On
the other hand, if you want to use pre-trained models, see
deconvDigitalDLSorter function.
In order to provide a way to work with large amounts of data on
RAM-constrained machines, we provide the possibility to use HDF5 files as
back-end to store count matrices of both real/simulated single-cell and bulk
RNA-Seq profiles. For this, the package uses the HDF5Array and
DelayedArray classes from the homonymous packages.
Once the Deep Neural Network model has been trained trained, it is possible
to save it as RDS or HDF5 files. Please see
DigitalDLSorterDNN for more details.
Slots
single.cell.realReal single-cell data stored in a
SingleCellExperimentobject. The count matrix is stored asdgCMatrixorHDF5Arrayobjects.deconv.dataList of
SummarizedExperimentobjects where it is possible to store new bulk RNA-Seq experiments for deconvolution. The name of the entries corresponds to the name of the data provided. SeetrainDDLSModelfor details.zinb.paramsZinbModelobject with estimated parameters for the simulation of new single-cell expression profiles.single.cell.simulSimulated single-cell expression profiles from the ZINB-WaVE model.
prob.cell.typesProbMatrixCellTypesclass with cell composition matrices built for the simulation of pseudo-bulk RNA-Seq profiles with known cell composition.bulk.simulA list of simulated train and test bulk RNA-Seq samples. Each entry is a
SummarizedExperimentobject. The count matrices can be stored asHDF5Arrayfiles using HDF5 files as back-end in case of RAM limitations.trained.modelDigitalDLSorterDNNobject with all the information related to the trained model. See?DigitalDLSorterDNNfor more details.deconv.resultsSlot containing the deconvolution results of applying the deconvolution model to the data present in the
deconv.dataslot. It is a list in which the names corresponds to the data from which they come.projectName of the project.
versionVersion of DigitalDLSorteR this object was built under.