plot.SH | R Documentation |
Plotting model for Slope-Hunter clustering
## S3 method for class 'SH' plot( x, what = c("clusters", "classification", "uncertainty", "density"), xlab = NULL, ylab = NULL, addEllipses = TRUE, main = FALSE, ... )
x |
Output from |
what |
A string specifying the type of graph requested. Available choices are: "clusters": showing clusters. The plot can display membership probabilities of each variable (e.g. SNP) to the target cluster (G1) by hovering over the points. "classification": A plot showing point assigned to each cluster (class). "uncertainty": A plot of classification uncertainty. "density": A plot of estimated density. |
xlab |
Optional label for the x-axis in case of "classification", "uncertainty", or "density" plots. |
ylab |
Optional label for the y-axis in case of "classification", "uncertainty", or "density" plots. |
addEllipses |
A logical indicating whether or not to add ellipses with axes corresponding to the within-cluster covariances in case of "classification" or "uncertainty" plots. |
main |
A logical or NULL indicating whether or not to add a title to the plot identifying the type of plot drawn in case of "classification", "uncertainty", or "density" plots. |
... |
Other graphics parameters. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.