This function calculates the p value between all possible pairs
of variables between those in x_vals
and those in y_vals
. The y_vals
must be numerical. If the x_vals
is logical, Wilcoxon rank sum test
will be carried out. If the x_vals
is numerical, p value will be that from
linear regression.
1 2 3 4 5 6 | compare_multi_features_multi_metrics(
com_df,
x_vals,
y_vals,
padj_method = "hochberg"
)
|
a dataframe with the following column:
x
: the independent variable
y
: the dependent variable
feature
: which group in x
presence
: the value of y
in that group
absence
: the value of y
outside that group
presence_num
: number of samples in that group
absence_num
: number of samples outside that group
p
: unadjusted p value
p_adj
: adjusted p value
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.