scSemiProfiler.utils.errorcurve

scSemiProfiler.utils.errorcurve(upperbounds, lowerbounds, semierrors, naiveerrors, batch=2, total_samples=12)[source]

Visualize the error and cost as more representatives are sequenced.

Parameters
  • upperbounds (list) – The error upper bounds calculated in each round

  • lowerbounds (list) – The error lower bounds calculated in each round

  • semierrors (list) – The errors of semi-profiling

  • naiveerrors (list) – The errors of the selection-only method

  • batch (int) – Representative selection batch size

  • total_samples (int) – The total number of samples in the cohort

Return type

None

Returns

None

Example

>>> errorcurve(upperbounds, lowerbounds, semierrors, naiveerrors, batch=2,total_samples = 12)