R/sctkTagging.R
expData-set-ANY-character-CharacterOrNullOrMissing-logical-method.RdexpData 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.
# S4 method for ANY,character,CharacterOrNullOrMissing,logical
expData(inSCE, assayName, tag = NULL, altExp = FALSE) <- valueInput SingleCellExperiment object.
Specify the name of the input assay.
Specify the tag to store against the input assay. Default is NULL, which will set the tag to "uncategorized".
A logical value indicating if the input assay is a altExp or a subset assay.
An input matrix-like value to store in the SCE object.
A SingleCellExperiment object containing the newly stored data.