phlower.tl.branch_heatmap_matrix

phlower.tl.branch_heatmap_matrix(tf_df: DataFrame, max_features: int = 100, var_cutoff: float = 0.9, label_markers: List | None = None)

order, filtering and scaling by rows of a pseudo time matrix select maximum max_features genes by variance if label_markers is offered, then the genes in label_markers would be selected first scale by rows and cutoff the valuse by abs(2)

Parameters

tf_df: pd.DataFrame

pseudo time matrix

max_features: int

maximum number of genes to be selected

var_cutoff: float

variance cutoff to select genes

label_markers: List

list of genes to be selected first