NSP.__init__#

missionbio.demultiplex.protein.nsp.NSP.__init__

NSP.__init__(jitter: float = 0.5, random_state: Optional[int] = None, sample_size: float = inf) None#
Parameters:
  • jitter – float The standard deviation of the jitter to be added to the read counts before applying the normalization. The jitter is sampled from a normal distribution cenetered at 0. This is only applicable for NSP and asinh

  • random_state – int The random state to use for the NSP and asinh methods.

  • sample_size – int The number of cells to use to estimate the signal and background linear models. All cells are used when set to np.inf.