dupsum: Function to output a summary table of precision and recall

Description Usage Arguments Value

View source: R/dupsum.R

Description

Function to output a summary table of precision and recall

Usage

1
dupsum(true, test = list())

Arguments

true

a character vector denoting pairs of overlapping/duplicated characters (e.g., "1–2")

test

a list of pairs of potential duplicated characters (e.g., each element of the list might represent a different method of locating duplicates with the 'duplicated.nex' function).

Value

a data frame object with false negatives (FN), true positives (TP), false positive (FP), along with precision (TP/(TP+FP)), recall (TP/(TP+FN)), and F1 score (2 * (precision * recall) / (precision + recall))


celiason/phenotools documentation built on Sept. 12, 2019, 6:49 p.m.