Skip to main content

Table 1 tRigon functions with explanations

From: tRigon: an R package and Shiny App for integrative (path-)omics data analysis

Section

Function

Explanation

Data

Processing data

tRigon can process .csv files of pathomics data together with provided experiment/clinical data meta files. tRigon aggregates pathomics files and assigns them to the provided labels from the metadata. Users can choose between processing human or animal experiment data with calculations on specimen or single-structure level

Loading data

tRigon can also be used to load other data (e.g., other omics datasets) or already processed pathomics files

Statistics

Descriptive statistics

Based on a provided group label tRigon can calculate summary statistics (e.g., mean, median, standard deviation, interquartile range) for each chosen feature

Statistical tests

tRigon supports a range of simple non-parametric statistical tests such as:

(1) pairwise Wilcoxon-rank tests with Bonferroni correction for multiple testing

(2) Kruskal–Wallis tests

(3) differences in median with bootstrapped confidence intervals for each desired feature and provided group label

Correlation

Simple and multiple correlations based on the Pearson-correlation coefficient can be calculated and visualized as a scatter plot or correlation matrix for each chosen feature. Users can also specify a group and subgroup for specific correlation analysis

Machine learning

For calculation of feature importance tRigon supports random forests and recursive feature elimination (RFE) for classification and regression of chosen features based on a selected dependent variable. For RFE users can also specify the number of folds for cross-validation as well as repeats

Plots & Visualisation

Distribution plots

Based on a provided group label tRigon plots selected feature distributions in a variety of plots:

(1) violin plots, with/without box plots

(2) box plots

(3) ridgeline plots

Clustering

tRigon supports k-means clustering for selected variables. Groups can also be plotted within a separate legend

Logs

Markdown reports

For each function tRigon users can download a markdown report in.html format including all relevant inputs and outputs of the application