Validation of Assay objects is handled by
validObject
data Validationblah
counts Validationblah
scale.data Validationblah
blah
blah
Keys must be a one-length character vector; a key must be composed of one of the following:
An empty string (eg. “''”) where nchar() == 0
An string composed of one or more alphanumeric values
(both lower- and upper-case) that ends with an underscore
(“_”); the first character must be a letter
Keys that are not empty strings are validated with the regex
“^[a-zA-Z][a-zA-Z0-9]*_$
”
v3 Assay object, validity, and interaction methods:
$.Assay(),
Assay-class,
CreateAssayObject(),
[.Assay(),
[[.Assay(),
dim.Assay(),
dimnames.Assay(),
merge.Assay(),
split.Assay(),
subset.Assay()
rna <- pbmc_small[["RNA"]]
validObject(rna)
#> [1] TRUE