loadDeconvData {digitalDLSorteR}R Documentation

Load data to be deconvoluted into a DigitalDLSorter object

Description

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.

Usage

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

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

## S4 method for signature '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.

See Also

trainDDLSModel deconvDDLSObj


[Package digitalDLSorteR version 1.0.1 Index]