A cell is called 'doublet' when the cell's p-value exceeds parameter p-thresh (default 0.99) on at least voter_thresh (default 90%) of the runs (when n_iters > 1).
Also handles cells assigned to -1 "not a cluster" cluster by Phenograph: they are excluded from score and p-value calculations. Raises a warning if a cell is assigned -1 on all runs.
A cell is called 'doublet' when the cell's p-value exceeds parameter
p-thresh
(default 0.99) on at leastvoter_thresh
(default 90%) of the runs (whenn_iters
> 1).Also handles cells assigned to -1 "not a cluster" cluster by Phenograph: they are excluded from score and p-value calculations. Raises a warning if a cell is assigned -1 on all runs.