FACSPy.subset_fluo_channels

FACSPy.subset_fluo_channels#

FACSPy.subset_fluo_channels(adata, as_view=False, copy=False)#

Subsets only channels that are of type ‘fluo’.

Parameters:
  • adata (AnnData) – The anndata object of shape n_obs x n_vars where rows correspond to cells and columns to the channels.

  • as_view (bool) – If True, returns an AnnDataView object.

  • copy (bool) – Whether to copy the dataset.

Return type:

AnnData or None, depending on copy.

Examples

>>> import FACSPy as fp
>>> dataset = fp.create_dataset(...)
>>> fp.subset_fluo_channels(dataset)