expData<-,ANY,character,CharacterOrNullOrMissing,logical-method | 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.
## S4 replacement method for signature 'ANY,character,CharacterOrNullOrMissing,logical'
expData(inSCE, assayName, tag = NULL, altExp = FALSE) <- value
inSCE |
Input |
assayName |
Specify the name of the input assay. |
tag |
Specify the tag to store against the input assay. Default is |
altExp |
A |
value |
An input matrix-like value to store in the SCE object. |
A SingleCellExperiment
object containing the newly stored data.
data(scExample, package = "singleCellTK")
mat <- expData(sce, "counts")
expData(sce, "counts", tag = "raw") <- mat
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.