IsMatrixEmpty {SeuratObject} | R Documentation |
Takes a matrix and asks if it's empty (either 0x0 or 1x1 with a value of NA)
IsMatrixEmpty(x)
## Default S3 method:
IsMatrixEmpty(x)
x |
A matrix |
Whether or not x
is empty
IsMatrixEmpty(new("matrix"))
IsMatrixEmpty(matrix())
IsMatrixEmpty(matrix(1:3))