ROC-AT-CUTOFF(1)

πŸ’– ROC-AT-CUTOFF(1) πŸ’–

okay bestie, welcome to roc-at-cutoff.pl β€” it lives in the User Contributed Perl Documentation corner of the manual-verse, and it's here to compute ROC / sensitivity / specificity at various / all thresholds. no cap. let's get into it πŸ¦‹


✨ NAME ✨

roc-at-cutoff.pl β€” computes ROC/sensitivity/specificity at various/all thresholds. it's giving statistics girlie and she ate πŸ’…


🌸 SYNOPSIS 🌸

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

periodt. that's the invocation, exactly as written, don't come for me πŸ™ˆ


πŸŽ€ OPTIONS πŸŽ€

so your input file should be some alignment that has a matching .rocr file (presumably generated by filter.pl --rocr). the output gets graphed to <basename>.cutoff.roc.png. iconic.

ngl, sensitivity/specificity needs a false negative count, which means it needs a .filterstats file. like it literally cannot do the thing without it. 🫢

then we have all the other options, bestie:

  • --stat|predictor|x β€” specifies what stat to use as a predictor. pick your main character stat ✨
  • --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. fresh start energy πŸ’…
  • --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 are not drawn by default, so specify --avg (with no args) to enable them) β€” lowkey sneaky but okay πŸ‘‘
  • --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

and that's the whole vibe check, bestie. this page was brought to you by perl v5.40.1, dated 2026-08-12 β€” so you know it's fresh, fr fr πŸ’–βœ¨πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from