cellink.pp.cell_level_obs_filter#
- cellink.pp.cell_level_obs_filter(dd, cell_level_key=None, cell_level_values=None, *, inplace=True, copy=True)#
Filter DonorData based on cell level observations information.
- Parameters:
inplace (
bool(default:True)) – Perform computation inplace or return result.- Return type:
- Returns:
Depending on
inplace, returns the following arrays or directly subsets and annotates the data matrix.
Example
>>> celltype_key = "celltype" >>> cell_type = "CD8" >>> cl.pp.cell_level_obs_filter(dd, celltype_key, cell_type, inplace=False, copy=True)