Three dimentional interactive plotting of the pairs and marking the true positives (TP), true negative (TN), false positives (FP), and false negatives (FN).
1 2 3 4 |
data |
A dataframe of pairs |
sim1 |
Name of the column in the x axis |
sim2 |
Name of the column in the y axis |
sim3 |
Name of the column in the z axis |
prediction |
A vector of the predicted classes |
labels |
A vector of the actual labels |
posclass |
How the positive class is expressed (e.g. posclass=1) |
colTP |
Color of the true positives |
colTN |
Color of the true negatives |
colFP |
Color of the false positives |
colFN |
Color of the false negatives |
legend |
A boolean argument if the legend should be present or not (e.g. legend=TRUE) |
leg.x |
The x coordinate of the legend |
leg.y |
The y coordinate of the legend |
leg.font |
The font size of the legend |
title |
The title of the plot |
xlab |
Naming the x-axis |
ylab |
Naming the y-axis |
zlab |
Naming the z-axis |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.