visual: Visualize Cliff's delta and S-value

View source: R/visual.R

visualR Documentation

Visualize Cliff's delta and S-value

Description

visual plots Cliff's delta and S-value for multiple groups and multiple biomarkers.

Usage

visual(rs, rotate = FALSE, display = TRUE)

Arguments

rs

a list, output of mbr.

rotate

a logical, whether to rotate the biomarker labels in figures.

display

a logical, whether to display cell values in heatmaps.

Value

visual returns a list of ggplot objects:

fig.delta

heatmap of Cliff's delta.

fig.sval

heatmap of S-value.

fig.avg

dot plot of the average of absolute Cliff’s delta.

mbr_fig

combined heatmaps of Cliff's delta and S-value.

Examples


set.seed(1)
setting <- setpop()
temp <- simul(setting$pop_mean)
mbr_result <- mbr(temp$sam)
visual(mbr_result)
 #might take more than 5s in some machines


mbRes documentation built on March 31, 2023, 8:14 p.m.