phlower.tl.branch_TF_gene_correlation

phlower.tl.branch_TF_gene_correlation(tf_df: DataFrame, gene_df: DataFrame)

calculate the correlation between TF and genes using pseudo time matrix return list of tuples recording the correlations ordered by correlation descendingly.

Parameters

tf_df: pd.DataFrame

the TF expression matrix, index is TF name, columns are bins

gene_df: pd.DataFrame

the gene expression matrix, index is gene name, columns are bins