Key-validity {SeuratObject} | R Documentation |
Key Validity
Description
Validation of KeyMixin
objects is handled by
validObject
Key Validation
Keys must be a one-length character vector; a key must be composed of one of the following:
An empty string (eg. “
''
”) wherenchar() == 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
.KeyPattern()
,
.RandomKey()
,
KeyMixin-class
[Package SeuratObject version 5.1.0 Index]