Example sparseMatrix
(Matrix
, dgCMatrix
) object.
Usage
data(sparseMatrix)
Examples
if (requireNamespace("Matrix", quietly = TRUE)) {
data(sparseMatrix)
class(sparseMatrix)
print(sparseMatrix)
}
#> 8 x 10 sparse Matrix of class "dgCMatrix"
#> [[ suppressing 10 column names ‘sample01’, ‘sample02’, ‘sample03’ ... ]]
#>
#> gene01 . 7 . . . . . . . .
#> gene02 . . . . . . . . . .
#> gene03 . . . . . . . . 14 .
#> gene04 . . . . . 21 . . . .
#> gene05 . . . . . . 28 . . .
#> gene06 . . . . . . . 35 . .
#> gene07 . . . . . . . . 42 .
#> gene08 . . . . . . . . . 49