expData<-,ANY,character,CharacterOrNullOrMissing,logical-method {singleCellTK} | R Documentation

## expData Store data items using tags to identify the type of data item stored. To be used as a replacement for assay<- setter function but with additional parameter to set a tag to a data item.

### Description

expData Store data items using tags to identify the type of data item stored. To be used as a replacement for assay<- setter function but with additional parameter to set a tag to a data item.

### Usage

    ## S4 replacement method for signature 'ANY,character,CharacterOrNullOrMissing,logical'
    expData(inSCE, assayName, tag = NULL, altExp = FALSE) <- value

### Arguments

`inSCE` | Input `SingleCellExperiment` object.
`assayName` | Specify the name of the input assay.
`tag` | Specify the tag to store against the input assay. Default is `NULL`, which will set the tag to "uncategorized".
`altExp` | A `logical` value indicating if the input assay is a `altExp` or a subset assay.
`value` | An input matrix-like value to store in the SCE object.

### Value

A `SingleCellExperiment` object containing the newly stored data.

[Package singleCellTK version 2.2.0 Index]