Learn R Programming

SeuratObject (version 5.0.2)

SparseEmptyMatrix: Generate empty dgC sparse matrix

Description

Generate empty dgC sparse matrix

Usage

SparseEmptyMatrix(nrow, ncol, rownames = NULL, colnames = NULL)

Arguments

ncol, nrow

Number of columns and rows in matrix

rownames, colnames

Optional row- and column names for the matrix