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/AcidBase documentation built on Jan. 28, 2024, 2:59 a.m.