asSparse | R Documentation |
Convert Matrix to Sparse Matrix
asSparse(mat, zero_percent = 0.7)
mat |
Expression data. A d x M matrix with d rows of features and M columns of data points (cells). |
zero_percent |
Zero-entry percentage threshold. If the number of zero entries in the returned matrices is above this number, a sparse matrix will be returned. Default is 0.7 aka 70%. |
Returns a regular or sparse matrix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.