DOKK / manpages / debian 12 / murasaki-common / roc-at-cutoff.pl.1.en
ROC-AT-CUTOFF(1) User Contributed Perl Documentation ROC-AT-CUTOFF(1)

roc-at-cutoff.pl - computes ROC/sensitivity/specificity at various/all thresholds

cbtest.pl <input1> [input2 ...]

Input file should be some alignment that has as a .rocr file (presumably generated by filter.pl --rocr). Output is graphed to <basename>.cutoff.roc.png.

sensitivity/specificity requires a false negative count, and as such requires a .filterstats file.

 Other options:
--stat|predictor|x specifies what stat to use as a predictor
--samples|n sets number of samples (default is sample at each possible cutoff)
--maxsamples|maxn sets a max for n/samples
--clean forces a re-sampling of the .rocr file
--log can apply log scale to x or y or xy axes
--fn can specify a FN count for calculating sensitivity
--avg preload averages (normally found from filterstats)
  (note: averages no drawn by default, so specify --avg (with no args) to
   enable them)
--noavg don't plot the line for averages
--lwd can specify line weight
--format can specify output file format (default png)
--pdf set format to pdf
--nofstats disable searching for filterstats statistics
--nofn pretend not to have fn statistics (ie: skip sensitivity)
--fstats specify the filterstats file to use
2021-08-15 perl v5.32.1