| LogMap-validity {SeuratObject} | R Documentation |
Logical Map Validity
Description
Validation of LogMap objects is handled by
validObject
Data Validation
Logical maps must be a logical matrix containing only TRUE or FALSE values
Value Validation
All values must be named within the rownames of the object. Duplicate or
empty ("") values are not allowed
Observation Validation
All observations must be named within the column names of the object.
Duplicate or empty ("") observations are not allowed
See Also
Logical map objects, validity, and interaction methods:
LogMap,
as.matrix.LogMap(),
droplevels.LogMap(),
intersect.LogMap(),
labels.LogMap()
Examples
map <- LogMap(letters[1:10])
map[['obs']] <- c(1, 3, 7)
map[['entry']] <- c(2, 7, 10)
validObject(map)
[Package SeuratObject version 5.0.2 Index]