Learn R Programming

SeuratObject (version 5.0.2)

LogMap-validity: Logical Map Validity

Description

Validation of LogMap objects is handled by validObject

Arguments

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

validObject

Logical map objects, validity, and interaction methods: LogMap, as.matrix.LogMap(), droplevels.LogMap(), intersect.LogMap(), labels.LogMap()

Examples

Run this code
map <- LogMap(letters[1:10])
map[['obs']] <- c(1, 3, 7)
map[['entry']] <- c(2, 7, 10)
validObject(map)

Run the code above in your browser using DataLab