R: Check Matrix Validity

CheckMatrix {SeuratObject} | R Documentation

## Check Matrix Validity

### Description

Check Matrix Validity

### Usage

    CheckMatrix(object, checks, ...)

    ## Default S3 method:
    CheckMatrix(object, checks, ...)

    ## S3 method for class 'dMatrix'
    CheckMatrix(object, checks = c("infinite", "logical", "integer", "na"), ...)

    ## S3 method for class 'lMatrix'
    CheckMatrix(object, checks = c("infinite", "logical", "integer", "na"), ...)

### Arguments

`object` | A matrix
`checks` | Type of checks to perform, choose one or more from: “`infinite`”: Emit a warning if any value is infinite “`logical`”: Emit a warning if any value is a logical “`integer`”: Emit a warning if any value is not an integer “`na`”: Emit a warning if any value is an `NA` or `NaN`
`...` | Arguments passed to other methods

### Value

Emits warnings for each test and invisibly returns `NULL`

[Package SeuratObject version 4.1.0 Index]