plot Violin plot of sd CV or mean
plot_stat_violin(pdata, config, stat = c("CV", "meanAbundance", "sd"))
bb1 <- prolfqua::sim_lfq_data_peptide_config()
#> creating sampleName from fileName column
#> completing cases
#> completing cases done
#> setup done
config <- bb1$config
data <- bb1$data
res <- summarize_stats(data, config)
#> completing cases
res <- summarize_stats(data, config)
#> completing cases
plot_stat_violin(res, config, stat = "meanAbundance")
plot_stat_violin(res, config, stat = "sd")
#> Warning: Removed 2 rows containing non-finite outside the scale range
#> (`stat_ydensity()`).
#> Warning: Removed 2 rows containing non-finite outside the scale range
#> (`stat_summary()`).
plot_stat_violin(res, config, stat = "CV")
#> Warning: Removed 2 rows containing non-finite outside the scale range
#> (`stat_ydensity()`).
#> Warning: Removed 2 rows containing non-finite outside the scale range
#> (`stat_summary()`).