larry._utils._sparse_mtx_operations¶
Module Contents¶
Functions¶
|
calculate variance across the specified axis of a sparse matrix. |
|
multiply each row of sparse matrix by a scalar |
|
mean-center columns of a sparse matrix |
|
variance-normalize columns of a sparse matrix |
|
z-score normalize each column of a sparse matrix |
- larry._utils._sparse_mtx_operations.sparse_var(E, axis=0)¶
calculate variance across the specified axis of a sparse matrix.
- larry._utils._sparse_mtx_operations.sparse_rowwise_multiply(E, a)¶
multiply each row of sparse matrix by a scalar
- larry._utils._sparse_mtx_operations.mean_center(E, column_means=None)¶
mean-center columns of a sparse matrix
- larry._utils._sparse_mtx_operations.normalize_variance(E, column_stdevs=None)¶
variance-normalize columns of a sparse matrix
- larry._utils._sparse_mtx_operations.sparse_zscore(E, gene_mean=None, gene_stdev=None)¶
z-score normalize each column of a sparse matrix