pytometry.preprocessing.find_indexes#

pytometry.preprocessing.find_indexes(adata, var_key=None, key_added='signal_type', data_type='facs', inplace=True)#

Find channels of interest for computing compensation.

Parameters
  • adata (AnnData) – AnnData object

  • var_key (str, optional) – key where to check if a feature is an area, height etc. type of value. Use var_names if None.

  • key_added (str, optional) – key where result vector is added to the adata.var. Defaults to ‘signal_type’.

  • data_type (str, optional) – either ‘facs’ or ‘cytof’. Defaults to ‘facs’.

  • inplace (bool, optional) – Return a copy instead of writing to adata. Defaults to True.

Return type

Optional[AnnData]

Returns

Depending on inplace, returns or updates adata with the following updated field adata.var[f’{key_added}’]