Load data to be deconvoluted. Data can be provided from a file path of a tabulated text file (tsv and tsv.gz formats are accepted) or a SummarizedExperiment object.

loadDeconvData(object, data, name.data = NULL)

# S4 method for class 'DigitalDLSorter,character'
loadDeconvData(object, data, name.data = NULL)

# S4 method for class 'DigitalDLSorter,SummarizedExperiment'
loadDeconvData(object, data, name.data = NULL)

Arguments

object

DigitalDLSorter object with trained.model slot.

data

File path where the data is stored or a SummarizedExperiment object.

name.data

Name under which the data is stored in the DigitalDLSorter object. When data is a file path and name.data is not provided, the base name of file will be used.

Value

A DigitalDLSorter object with deconv.data slot with the new bulk-RNA-Seq samples loaded.