inst/unitTests/test_removeFalsePositives.R

######## Test removeFalsePositives ###########
test_removeFalsePositives <- function (){
    data(exampleMetReport)
    results <- removeFalsePositives(exampleMetReport, 50, save = FALSE)
    checkEqualsNumeric(nrow(results), 13)
}

Try the Metab package in your browser

Any scripts or data that you put into this service are public.

Metab documentation built on Nov. 8, 2020, 5:36 p.m.