tacco.utils.welchttest¶
- welchttest(df, alternative=['greater', 'less'], n_boot=0)[source]¶
Perform Welch’s t test. Tests all columns.
- Parameters:
df – A table of samples as
DataFrame
, with groups in the rows and values in the columns. If the index is a multilevel index, the second level is interpreted as sample annotation.alternative –
The alternative for the test. Can also be a list of alternatives. Available are:
’greater’
’less’
’two-sided’
n_boot – The number of bootstrap samples which are included in addition to the real samples.
- Returns:
An
DataFrame
containing the enrichment p-values.