CheckMatrix: Check Matrix Validity

View source: R/generics.R

CheckMatrixR 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


mojaveazure/seurat-object documentation built on Dec. 13, 2024, 9:23 a.m.