'How can I plot ROC curve and calculate AUC, determine cutoff value?

To evaluate diagnostic performance, I want to plot ROC curve, calculate AUC, and determine cutoff value

I have concentration of some protein, and actual disease diagnosis result (true of false)

I found some references, but I think they are optimized for machine learning.

And I’m not python expert. I can't figure out how to replace the test data with my own.

Here is some references and my sample data.

Could you please help me?

Sample  Value   Real
1   74.9    T
2   64.22   T
3   45.11   T
4   12.01   F
5   61.43   T
6   96  T
7   74.22   T
8   79.9    T
9   5.18    T
10  60.11   T
11  14.96   F
12  26.01   F
13  26.3    F


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source