intersect.LogMap: Find Common Logical Map Values

View source: R/logmap.R

intersect.LogMapR 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 LogMap object

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)


SeuratObject documentation built on May 29, 2024, 12:31 p.m.