Description Usage Arguments Value Examples
It calculates the coordinates (fpr, sen) of the ROC curve. This function sorts the scores of a model test and generates the points which will be used to plot its the ROC curve
1 | pointsCurve(x, y)
|
x |
It is the vector of the status (gold standar) |
y |
It is the vector with the values of a predictor variable or clasificator |
return a matrix with the points of 1-specificity and sensibility that will be used to generate a ROC curve
1 2 3 4 | library(fission)
data("fission")
strain <- fission@colData@listData$strain
pointsCurve<- pointsCurve(strain, t(assay(fission))[,"SPNCRNA.1080"])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.