plot_stat_density: plot density distribution or ecdf of sd, mean or CV

View source: R/tidyMS_stats.R

plot_stat_densityR Documentation

plot density distribution or ecdf of sd, mean or CV

Description

plot density distribution or ecdf of sd, mean or CV

Usage

plot_stat_density(
  pdata,
  config,
  stat = c("CV", "meanAbundance", "sd"),
  ggstat = c("density", "ecdf")
)

Arguments

pdata

data.frame

config

AnalysisConfiguration

stat

sd, mean or CV

ggstat

either density of ecdf

See Also

Other stats: INTERNAL_FUNCTIONS_BY_FAMILY, lfq_power_t_test_proteins(), lfq_power_t_test_quantiles(), lfq_power_t_test_quantiles_V2(), plot_stat_density_median(), plot_stat_violin(), plot_stat_violin_median(), plot_stdv_vs_mean(), pooled_V2(), summarize_stats()

Examples



bb1 <- prolfqua::sim_lfq_data_peptide_config()
config <-  bb1$config
data <- bb1$data
res <- summarize_stats(data, config)
plot_stat_density(res, config, stat = "meanAbundance")
plot_stat_density(res, config, stat = "sd")
plot_stat_density(res, config, stat = "CV")

wolski/prolfqua documentation built on Oct. 31, 2024, 9:22 a.m.