Draw missing values for an intensity vector based on its values
Source:R/simulate_LFQ_data.R
which_missing.RdEach value goes missing at random with a probability that falls with its intensity (through its normal quantile), so low intensities go missing more often, as in LFQ data.
Examples
which_missing(2**rnorm(10,2,0.4))
#> [1] FALSE FALSE FALSE FALSE FALSE FALSE FALSE TRUE FALSE FALSE