R Under development (unstable) (2023-11-26 r85638 ucrt) -- "Unsuffered Consequences" Copyright (C) 2023 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > # Test augmentation with MQM > # > # Note: the full version of this test has moved to ./contrib/bin/rtest, > # as it takes a long time to run. The full version can be run with: > # > # cd contrib/bin > # rm CMakeCache.txt ; cmake -DTEST_R=TRUE > # make testR > > library(qtl) > > set.seed(1000) > > version = mqm_version() > cat("R/qtl=",version$RQTL) R/qtl= 1.66> cat("R-MQM=",version$RMQM) R-MQM= 0.90-pre1> cat("MQM=",version$MQM) MQM= 0.90-pre1> > testaugmentation <- function(cross, ...){ + crossML <- mqmaugment(cross, ...) + + res1 <- mqmscan(crossML,logtransform=TRUE) + list(res1) + } > > data(listeria) > r <- testaugmentation(listeria) INFO: VALGRIND MEMORY DEBUG BARRIERE TRIGGERED Warning message: In mqmaugment(cross, ...) : MQM not yet available for the X chromosome; omitting chr X > if(!round(r[[1]][3,3],3)==0.307) stop("Listeria ML dataaugmentation error") > > cat("testaugmentation.R, tests succesfully run!") testaugmentation.R, tests succesfully run!> > proc.time() user system elapsed 1.32 0.09 1.42