Summarize missing in condtion as barplot

missingness_per_condition(
  x,
  config,
  factors = config$table$factor_keys_depth()
)

Examples


istar <- sim_lfq_data_peptide_config()
#> creating sampleName from fileName column
#> Warning: no nr_children column specified in the data, adding column nr_children and setting to 1.
#> completing cases
config <- istar$config
analysis <- istar$data

res <- missingness_per_condition(analysis, config)
#> Warning: >>>> deprecated! <<<< 
#> 
#>           use summarize_stats_factors instead.
#> completing cases
stopifnot("ggplot" %in% class(res$figure))

stopifnot(ncol(res$data) >= 5)