R/tidyMS_R6_TransitionCorrelations.R
remove_small_intensities.Rd
Remove rows when intensity lower then threshold
remove_small_intensities(pdata, config, threshold = 1)
data.frame
AnalysisConfiguration
data.frame
Other filtering:
remove_large_QValues()
dd <- prolfqua_data('data_spectronautDIA250_A')
config <- dd$config_f()
analysis <- dd$analysis(dd$data,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$table$get_response()
#> [1] "FG.Quantity"
res1 <- remove_small_intensities(analysis, config, threshold=1 )
res1000 <- remove_small_intensities(analysis, config, threshold=1000 )
stopifnot(nrow(res1) > nrow(res1000))