pytometry.preprocessing.create_comp_mat#

pytometry.preprocessing.create_comp_mat(spillmat, relevant_data='')#

Creates a compensation matrix from a spillover matrix.

Parameters
  • spillmat (pd.DataFrame) – Spillover matrix as pandas dataframe.

  • relevant_data (str, optional) – A list of channels for customized selection. Defaults to ‘’.

Return type

DataFrame

Returns

pd.DataFrame of the compensation matrix.