The SpatialDDLS object is the core of the
SpatialDDLS package. This object stores different intermediate data
needed for the construction of new deconvolution models, the spatial
transcriptomics profiles to be deconvoluted, and the predicted cell type
proportions.
Details
This object uses other classes to store different types of data generated during the workflow:
SingleCellExperimentclass for single-cell RNA-Seq data storage, using sparse matrix from the Matrix package (dgCMatrixclass) orHDF5Arrayclass in case of using HDF5 files as back-end (see below for more information).SpatialExperimentclass for spatial transcriptomics data storage.ZinbModelclass with estimated parameters for the simulation of new single-cell profiles.SummarizedExperimentclass for simulated mixed transcriptional profiles storage.PropCellTypesclass for composition cell type matrices. See?PropCellTypesfor details.DeconvDLModelclass to store information related to deep neural network models. See?DeconvDLModelfor details.
In order to provide a way to work with large amounts of data in RAM-constrained machines, we provide the possibility of using HDF5 files as back-end to store count matrices of both real and simulated single-cell profiles by using the HDF5Array and DelayedArray classes from the homonymous packages.
Slots
single.cell.realReal single-cell data stored in a
SingleCellExperimentobject. The count matrix is stored either asdgCMatrixorHDF5Arrayobjects.spatial.experimentsList of
SpatialExperimentobjects to be deconvoluted.zinb.paramsZinbModelobject with estimated parameters for the simulation of new single-cell expression profiles.single.cell.simulSimulated single-cell expression profiles using the ZINB-WaVE model.
prob.cell.typesPropCellTypesclass with cell composition matrices built for the simulation of mixed transcriptional profiles with known cell composition.mixed.profilesList of simulated train and test mixed transcriptional profiles. Each entry is a
SummarizedExperimentobject. Count matrices can be stored asHDF5Arrayobjects using HDF5 files as back-end in case of RAM limitations.trained.modelDeconvDLModelobject with information related to the deconvolution model. See?DeconvDLModelfor more details.deconv.spotsDeconvolution results. It consists of a list where each element corresponds to the results for each
SpatialExperimentobject contained in thespatial.experimentsslot.projectName of the project.
versionVersion of SpatialDDLS this object was built under.
