EmptyMatrix {SeuratObject}R Documentation

Empty Matrices

Description

Create empty 0x0 matrices of varying types

Usage

EmptyMatrix(repr = "C", type = "d")

Arguments

repr

Representation of empty matrix; choose from:

type

Type of resulting matrix to return, choose from:

  • d” for numeric matrices

  • l” for logical matrices

  • n” for pattern matrices

Note, when repr is “spam”, type must be “d”; when repr is “d”, setting type to “n” returns a logical matrix

Value

A 0x0 matrix of the specified representation and type

See Also

IsMatrixEmpty()

Examples

EmptyMatrix()
EmptyMatrix("spam")


[Package SeuratObject version 5.0.2 Index]