The tidy table does not need to contain missing data. This function re-establishes the missing observations in a sample.

complete_cases(pdata, config)

Arguments

pdata

data.frame

config

AnlalysisConfiguration

Examples


bb <- sim_lfq_data_protein_config()
#> creating sampleName from fileName column
#> completing cases

xx <- complete_cases(bb$data, bb$config)
#> completing cases
stopifnot(nrow(bb$data) <= nrow(xx))