Accuracy, sensitivity, and specificity

Dear MicOmixs team,

I want to evaluate the performance of my sPLD-DA based on differents VIP values. For this, I would like to know how to obtain the accuracy, sensitivity, and specificity values. As in this paper,, where the authors used MixOmics and chechek it.

Thanks very much in advance.
All the help is much appreciated.

Hi Patricia,

Thanks for using mixOmics!

I’m not sure about the details of how the mentioned paper extracted the values, but we calculate these values internally in statauc internal function as you can see:
Basically, auroc.mixo_splsda :
calls this function to evaluate the AUC of the model. You can customise statauc function to extract the df as well, which will give you the Sensitivity and Specificity of the model. Accuracy of the model will also be, by definition, 1- error_rate. The perf function provides the model error rate.

Hope it helps


Hi AI,

Thanks very much for your reply. It worked!