Compute the FDR given true positives and false positives.

algoFDR(tp, fp)

Arguments

tp

The number of true positive classifications.

fp

The number of false positive classificationsm.