powered by
Native implementation of SeuratObjects CheckMatrix but with modified warning messages.
CheckMatrix_scCustom( object, checks = c("infinite", "logical", "integer", "na") )
Emits warnings for each test and invisibly returns NULL
NULL
A matrix
Type of checks to perform, choose one or more from:
“infinite”: Emit a warning if any value is infinite
infinite
“logical”: Emit a warning if any value is a logical
logical
“integer”: Emit a warning if any value is not an integer
integer
“na”: Emit a warning if any value is an NA or NaN
na
NA
NaN
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).
CheckMatrix
if (FALSE) { mat <- Read10X(...) CheckMatrix_scCustom(object = mat) }
Run the code above in your browser using DataLab