########################################## ## Notes on the CAAP Evaluation Script ## ## ## ## The script is used as follows (in R) ## ########################################## ## Get the function definitions from eval.R source("eval.R") ## Define ground truth file and alignment tool result file ## e.g. the M1 data set ground truth gt <- '/data/M1_ground_truth.dat' ## alignment tool result (space separated : intensity_feat_1 rt_feat_1 mz_feat_1 intensity_feat_2 rt_feat_2 mz_feat_2 intensity_feat_3 ..." tool <- '/data/my_tool_result.dat' ## Evaluate res <- eval(gt,tool) ## Print the results cat("Recall : ", res$recall,"\n") cat("Precision : ", res$precision,"\n")