Description Usage Arguments Examples
The histogram for simulated doublets is useful for determining the correct doublet score threshold. To set threshold to a specific value, T, run call_doublets(threshold=thr.value).
1 | plot_doublet_histogram(nnc, breaks = 30)
|
nnc |
list, output of call_doublets function |
breaks |
number of breaks to be used in hist |
1 2 3 | #' scrr = scrub_doublets(E_obs = pbmc8k,expected_doublet_rate=0.06,min_counts=2, min_cells=3, min_gene_variability_pctl=85, n_prin_comps=30)
scrr=call_doublets(scrr)
plot_doublet_histogram(scrr)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.