plot_doublet_histogram: Plot histogram of doublet scores for observed transcriptomes...

Description Usage Arguments Examples

View source: R/rscrublet.R

Description

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).

Usage

1
plot_doublet_histogram(nnc, breaks = 30)

Arguments

nnc

list, output of call_doublets function

breaks

number of breaks to be used in hist

Examples

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)

iaaaka/Rscrublet documentation built on Dec. 20, 2021, 5:57 p.m.