calc_differential_radiomics: Perform differential radiomic analysis

Description Usage Arguments Value Author(s)

View source: R/stats_functions.R

Description

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.

Usage

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
)

Arguments

rdr

A RadAR object (class SummarizedExperiment).

conditions

(numeric, character) Vector of labels for each sample in rdr. Should have the same length of ncol(rdr). Required.

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 p.adjust.methods.

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].

Value

An updated rdr (a RadAR object)

Author(s)

Matteo Benelli (matteo.benelli@uslcentro.toscana.it)


cgplab/RadAR documentation built on Nov. 10, 2021, 1:32 a.m.