Validation of Assay objects is handled by validObject

data Validation

blah

counts Validation

blah

scale.data Validation

blah

Feature-Level Meta Data Validation

blah

Variable Feature Validation

blah

Key Validation

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]*_$

See also

validObject

v3 Assay object, validity, and interaction methods: $.Assay(), Assay-class, CreateAssayObject(), [.Assay(), [[.Assay(), dim.Assay(), dimnames.Assay(), merge.Assay(), split.Assay(), subset.Assay()

Examples

rna <- pbmc_small[["RNA"]]
validObject(rna)
#> [1] TRUE