pseudodynamics.functions.eval_funs.agg_param

pseudodynamics.functions.eval_funs.agg_param(adata, param, groupby_key='cell_type', timepoints=None, timepoint_key='timepoint_tx_days', cellcount_threshold=10, agg_fn='mean')[source]

Aggregate dynamic parameters by specific cell state label

Args:

adata (AnnData): Annotated data matrix param (str): Parameter name groupby_key (str): Cell state label timepoints (list): Timepoints to aggregate timepoint_key (str): Anndata.obs key in which the time label is stored cellcount_threshold (int) : the min number of cells in the cell type to be considered

Returns:

:

(DataFrame): Aggregated parameters

Parameters:

param (ndarray)