va">valid_roc</span><span class="op">[</span><span class="va">idx</span>, <span class="st">"cutoff"</span><span class="op">]</span>
<span class="va">case_status</span> <span class="op">&lt;-</span> <span class="fu"><a href="https://rdrr.io/r/base/ifelse.html">ifelse</a></span><span class="op">(</span><span class="va">phenotype</span><span class="op">$</span><span class="va">prediction</span> <span class="op">&gt;=</span> <span class="va">cut.fpr95</span>, <span class="fl">1</span>, <span class="fl">0</span>