Check Matrix Validity — CheckMatrix_scCustom (original) (raw)

Native implementation of SeuratObjects CheckMatrix but with modified warning messages.

CheckMatrix_scCustom(
  object,
  checks = c("infinite", "logical", "integer", "na")
)

Arguments

object

A matrix

checks

Type of checks to perform, choose one or more from:

Value

Emits warnings for each test and invisibly returns NULL

Examples

if (FALSE) {
mat <- Read10X(...)
CheckMatrix_scCustom(object = mat)
}