inst/unitTests/test_MetReportNames.R

######## Test MetReportNames ###########
test_MetReportNames <- function (){
	data(exampleAMDISReport)
    results <- MetReportNames("130513_REF_SOL2_2_100_1", exampleAMDISReport, save = FALSE, TimeWindow = 0.5, base.peak = TRUE)
   	checkEqualsNumeric(as.numeric(results[1,2]), 162705504)
}

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.