addAssayToESE | R Documentation |
Adds an assay of signal matrices to an existing 'EnrichmentSE' object.
addAssayToESE(x, a, name = "normalized", replace = TRUE)
x |
An object of class 'EnrichmentSE', as produced by
|
a |
The assay to add, e.g. a list of normalizedMatrix objects |
name |
|
replace |
Logical, whether to replace any existing assay of the same name (default TRUE). If FALSE and the assay already existed, the new assay name is given a suffix. |
'x' with the added/updated assay.
# we first get an EnrichmentSE object:
data(exampleESE)
# then we will create a new assay which is simply sqrt-transformed, and add
# it back in the object
newAssay <- lapply(getSignalMatrices(x), sqrt)
exampleESE <- addAssayToESE(exampleESE, newAssay, named="sqrt")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.