Description Usage Arguments Value Author(s)
View source: R/stats_functions.R
This function implements two non-parametric statistical tests (Wilcoxon-Mann-Whitney and AUC) to perform differential analysis of radiomic features. In case of Wilcoxon-Mann-Whitney p-values can be adjusted using different methods.
1 2 3 4 5 6 7 8 9 | calc_differential_radiomics(
rdr = NULL,
conditions = NULL,
which_data = "scaled",
method = "wilcox",
adjust_pvalues_by = "BH",
thr_pvalue = NA,
thr_auc = NA
)
|
rdr |
A RadAR object (class |
conditions |
(numeric, character) Vector of labels for each sample in rdr. Should have the same
length of |
which_data |
(character) Which data use for plot. It can be one of the following: "normal", "scaled", "normalized". |
method |
(character) Which statistical methods use for differential analysis. It can be "wilcox" (Wilcoxon-Mann-Whitney), "auc" (Area Under the Curve) or "kruskal-wallis". |
adjust_pvalues_by |
(character) Which method use to correct p-values from wilcox test. Print available methods by
|
thr_pvalue |
(numeric) P-value threshold to identify statistically significant features for wilcox or kruskal-wallis. It should be in the range (0, 1]. |
thr_auc |
(numeric) AUC threshold to identify statistically significant features. It should be in the range (0.5,1]. |
An updated rdr (a RadAR object)
Matteo Benelli (matteo.benelli@uslcentro.toscana.it)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.