pytometry.preprocessing.find_indexes#
- pytometry.preprocessing.find_indexes(adata, var_key=None, key_added='signal_type', data_type='facs', copy=False)#
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’.
copy (bool, optional) – Return a copy instead of writing to adata. Defaults to False.
- Return type
Optional
[AnnData
]- Returns
- Depending on
copy
, returns or updatesadata
with the following updated field adata.var[f’{key_added}’]
- Depending on