stereo.core.StPipeline.quantile

StPipeline.quantile(inplace=True, res_key='quantile')[source]

Normalize the columns of X to each have the same distribution. Given an expression matrix of M genes by N samples, quantile normalization ensures all samples have the same spread of data (by construction).

Parameters:
  • inplace – whether inplace the original data or get a new express matrix after quantile.

  • res_key – the key for getting the result from the self.result.

Returns: