magic_assay_names {MAST} | R Documentation |
assay
returnedMethods in this package operate on log-transformed (multiplicative scale) expression.
We attempt to check for this at construction, and then over-ride the assay
method to return the "layer" containing such log-transformed data.
magic_assay_names() ## S4 method for signature 'SingleCellAssay,missing' assay(x, i, ...)
x |
|
i |
must be |
... |
passed to parent method |
By default we return the assay whose names, as given by assayNames(x)
, matches the first element in the vector c('thresh', 'et', 'Et', 'lCount', 'logTPM', 'logCounts')
.
magic_assay_names
: list of names assumed to represent log-transformed data, in order of usage preference
data(vbetaFA) assay(vbetaFA)[1:3,1:3] assay(vbetaFA, 'thresh') = assay(vbetaFA)*0 - 9 assay(vbetaFA)[1:3, 1:3]