CheckMatrix_scCustom {scCustomize} | R Documentation |
Check Matrix Validity
Description
Native implementation of SeuratObjects CheckMatrix but with modified warning messages.
Usage
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
References
Re-implementing CheckMatrix
only for sparse matrices with modified warning messages. Original function from SeuratObject https://github.com/satijalab/seurat-object/blob/9c0eda946e162d8595696e5280a6ecda6284db39/R/utils.R#L625-L650 (License: MIT).
Examples
## Not run:
mat <- Read10X(...)
CheckMatrix_scCustom(object = mat)
## End(Not run)
[Package scCustomize version 2.1.2 Index]