API

demuxEM can also be used as a python package. Import demuxEM by:

import demuxEM

Demultiplexing

estimate_background_probs(hashing_data[, ...])

For cell-hashing data, estimate antibody background probability using KMeans algorithm.

demultiplex(rna_data, hashing_data[, ...])

Demultiplexing cell/nucleus-hashing data, using the estimated antibody background probability calculated in demuxEM.estimate_background_probs.

attach_demux_results(input_rna_file, rna_data)

Write demultiplexing results into raw gene expression matrix.