plot_improvement_stats: Plot observed performance and improvement per target

View source: R/plots.R

plot_improvement_statsR Documentation

Plot observed performance and improvement per target

Description

Generates a plot of the mean (+- standard deviation) of the performance value per target across all samples from the results.

Usage

plot_improvement_stats(
  misty.results,
  measure = c("gain.R2", "multi.R2", "intra.R2", "gain.RMSE", "multi.RMSE", "intra.RMSE"),
  trim = -Inf
)

Arguments

misty.results

a results list generated by collect_results().

measure

performance measure to be plotted (See collect_results()).

trim

display targets with performance value above (if R2 or gain) or below (otherwise) this value only.

Value

The misty.results list (invisibly).

See Also

collect_results() to generate a results list from raw results.

Other plotting functions: plot_contrast_heatmap(), plot_contrast_results(), plot_interaction_communities(), plot_interaction_heatmap(), plot_view_contributions()

Examples

all.samples <- list.dirs("results", recursive = FALSE)

collect_results(all.samples) %>% plot_improvement_stats()

misty.results <- collect_results(all.samples)
misty.results %>% plot_improvement_stats(measure = "gain.RMSE")
misty.results %>% plot_improvement_stats(measure = "intra.R2")

saezlab/mistyR documentation built on March 25, 2024, 4:12 p.m.