intersectionMatrix: Intersection matrix

intersectionMatrixR Documentation

Intersection matrix

Description

Intersection matrix

Usage

intersectionMatrix(object, ...)

## S4 method for signature 'DFrame'
intersectionMatrix(object)

## S4 method for signature 'data.frame'
intersectionMatrix(object)

## S4 method for signature 'list'
intersectionMatrix(object)

## S4 method for signature 'matrix'
intersectionMatrix(object)

Arguments

object

Object.

...

Additional arguments.

Value

matrix.

Note

Updated 2021-08-13.

Examples

object <- list(
    "aaa" = c("a", "b", "c", "d", "e", "f"),
    "bbb" = c("b", "c", "d", "e", "f", "g"),
    "ccc" = c("c", "d", "e", "f", "g", "h")
)
mat <- intersectionMatrix(object)
rowSums(mat)

acidgenomics/r-acidbase documentation built on Jan. 12, 2024, 3:56 a.m.