scSemiProfiler.utils.get_error

scSemiProfiler.utils.get_error(name, scpath='example_data/scdata.h5ad')[source]

Conclude the semi-profiling history of a project and output the erros, upperbounds, and lower bounds, which are necessary for overall performance evaluation.

Parameters
  • name (str) – Project name

  • scpath (str) – Path to single-cell data

Return type

typing.Tuple[list, list, list, list]

Returns

  • upperbounds – The error upper bounds calculated in each round

  • lowerbounds – The error lower bounds calculated in each round

  • semierrors – The errors of semi-profiling

  • naiveerrors – The errors of the selection-only method

Example

>>> upperbounds, lowerbounds, semierrors, naiveerrors = get_error(name)