T-statistics for the dependency enrichment

Hi,

Can you, please, help me with understanding how the T-statistics were calculated for the dependency enrichment (formula would be the best)?

Kind regards,

Maksim

We used scipy.stats.ttest_ind executing it as:

    raw_result = ttest_ind(df[in_lines], df[out_lines], axis=1, nan_policy="omit")

You can see more information describing this function in scipy’s documentation: scipy.stats.ttest_ind — SciPy v1.9.0 Manual

Thanks,
Phil