cytonormpy._normalization.GoalDistribution#
- class cytonormpy._normalization.GoalDistribution(expr_quantiles, goal='batch_mean')#
Calculates and stores the goal distribution of the expression values.
- Parameters:
expr_quantiles (
ExpressionQuantiles) – The expression values divided by batch, quantiles and clusters.goal (
Union[int,str]) – Function to calculate the goal expression per cluster and channel. Defaults to batch_mean, which calculates the mean over all batches. Can be any of batch_median, batch_mean or a specific batch passed as an int.
- Return type:
None
Methods
get_quantiles(channel_idx, quantile_idx, ...)Returns a quantile array.