larry._tools._time_occupance¶
Module Contents¶
Functions¶
|
return if ALL specified values are contained in passed list |
|
|
|
Parameters: |
Attributes¶
- larry._tools._time_occupance.NoneType¶
- larry._tools._time_occupance._has_t(df, time_key, query_t: list)¶
return if ALL specified values are contained in passed list
- larry._tools._time_occupance.filter_fate(adata, fate_time=[4, 6], fate=['undiff'], time_key='Time point', state_key='Cell type annotation')¶
- larry._tools._time_occupance.time_occupance(adata: anndata.AnnData, lineage_key: str = 'clone_idx', exclude_fate: tuple = ('Cell type annotation', ['undiff']), fate_time=[4, 6], time_key: str = 'Time point', return_df=False) Union[pandas.DataFrame, None]¶
- adata
type: anndata.AnnData
- lineage_key
type: str
- time_key
type: str
- time_occupance
type: pandas.DataFrame