IsMatrixEmpty: Check if a matrix is empty

View source: R/generics.R

IsMatrixEmptyR Documentation

Check if a matrix is empty

Description

Takes a matrix and asks if it's empty (either 0x0 or 1x1 with a value of NA)

Usage

IsMatrixEmpty(x)

## Default S3 method:
IsMatrixEmpty(x)

Arguments

x

A matrix

Value

Whether or not x is empty

See Also

EmptyMatrix()

Examples

IsMatrixEmpty(new("matrix"))
IsMatrixEmpty(matrix())
IsMatrixEmpty(matrix(1:3))


mojaveazure/seurat-object documentation built on Aug. 3, 2024, 4:59 p.m.