Simulate data, protein and peptide, with config

sim_lfq_data_peptide_config(
  Nprot = 10,
  with_missing = TRUE,
  weight_missing = 0.2,
  seed = 1234
)

Arguments

with_missing

add missing values, default TRUE

seed

seed for reproducibility, if NULL no seed is set.

description

Nprot number of proteins

Examples


x <- 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
stopifnot("data.frame" %in% class(x$data))
stopifnot("AnalysisConfiguration" %in% class(x$config))