This function makes it so that we don't have to explode a dgCMatrix to a full matrix in order to write the matrix to a CSV file with a named first column derived from rownames(mat).
1 2 | write_dgCMatrix_csv(mat, filename, col1_name = "gene",
chunk_size = 1000)
|
mat |
the dgCMatrix to write |
filename |
the target CSV file |
col1_name |
the name of the first column to write |
chunk_size |
the number of rows to retrieve per chunk. Lower = less RAM usage. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.