intersect.LogMap {SeuratObject} | R Documentation |
Find Common Logical Map Values
Description
Identify values in a logical map that are common to every observation
Usage
## S3 method for class 'LogMap'
intersect(x, y = missing_arg(), ...)
Arguments
x |
A |
y |
Ignored |
... |
Ignored |
Value
The values of x
that are present in every observation
See Also
Logical map objects, validity, and interaction methods:
LogMap
,
LogMap-validity
,
as.matrix.LogMap()
,
droplevels.LogMap()
,
labels.LogMap()
Examples
map <- LogMap(letters[1:10])
map[['obs']] <- c(1, 3, 7)
map[['entry']] <- c(2, 7, 10)
# Identify values that are present in every observation
intersect(map)
[Package SeuratObject version 5.0.2 Index]