ave_dups()
Worked examples
Validation
Average over duplicate spots.
Computes the (weighted) mean across replicate spots for each gene.
x (ndarray) – Expression matrix, shape (n_spots, n_arrays).
ndups (int, default 2) – Number of duplicates.
spacing (int, default 1) – Spacing between duplicates.
weights (ndarray, optional) – Weights matrix with same shape as x.
Averaged matrix, shape (n_genes, n_arrays).
ndarray