call_doublets: call doublets by new threshold

View source: R/scrublet.R

call_doubletsR Documentation

call doublets by new threshold

Description

Call trancriptomes as doublets or singlets

Usage

call_doublets(
  scrublet_obj,
  threshold = NULL,
  python_home = Sys.which("python"),
  return_obj = TRUE
)

Arguments

scrublet_obj

The result from get_init_scrublet

threshold

Doublet score threshold for calling a transcriptome a doublet. If None, this is set automatically.

python_home

The python home directory where Scrublet is installed

return_obj

If FALSE, only return a logical vector show doublet, or a python scrublet object.

Value

return a logical vector or a python scrublet object.


Moonerss/scrubletR documentation built on Oct. 25, 2024, 8:06 a.m.