scSemiProfiler.utils.estimate_cost

scSemiProfiler.utils.estimate_cost(total_samples, n_representatives)[source]

Estimate the cost of semi-profiling and real-profiling.

Parameters
  • total_samples (int) – Total number of samples

  • n_representatives (int) – Number of representatives

Return type

typing.Tuple[float, float]

Returns

  • semicost – Cost of semi-profiling

  • realcost – Cost of real-profiling

Example

>>> semicost, realcost = estimate_cost(12,2)