larry._utils._sparse_mtx_operations

Module Contents

Functions

sparse_var(E[, axis])

calculate variance across the specified axis of a sparse matrix.

sparse_rowwise_multiply(E, a)

multiply each row of sparse matrix by a scalar

mean_center(E[, column_means])

mean-center columns of a sparse matrix

normalize_variance(E[, column_stdevs])

variance-normalize columns of a sparse matrix

sparse_zscore(E[, gene_mean, gene_stdev])

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