Description Usage Arguments Details Value See Also Examples

Compute variance for each column / each row of a dgCMatrix (from Matrix package).

1 2 3 | ```
colVars_spm(spm)
rowVars_spm(spm)
``` |

`spm` |
A sparse matrix of class dgCMatrix from the Matrix package. |

The only supported format currently is dgCMatrix. While the Matrix package has other formats, this one is used for scRNAseq raw count data. Function code written by Simon Anders.

Vector with variances.

`vignette("Intro2Matrix", package="Matrix")`

CsparseMatrix-class

1 2 3 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.