ClusterPlot {SC.MEB} | R Documentation |
ClusterPlot.
Description
The function ClusterPlot is used to Visualize spatial clusters.
Usage
ClusterPlot(out, pos, size = 5, shape = 15)
Arguments
out |
is the output of function selectK. |
pos |
is a n-by-2 matrix of position. |
size |
is a positive value for characterizing the size of point in the plot, which is the same as size in ggplot2. |
shape |
is a positive value for characterizing the shape of point in the plot, which is the same as shape in ggplot2. |
Details
The function ClusterPlot is used to Visualize spatial clusters.
Value
a ggplot2 object.
Examples
pos = cbind(rep(1:5, each=5), rep(1:5, 5))
out = list()
out[[1]] = ""
out[[2]] = rep(1:5, each = 5)
ClusterPlot(out, pos)
[Package SC.MEB version 1.1 Index]