View source: R/SingleCellPlots.R
plot_forceDirectedGraph_label_by_clusters | R Documentation |
Plot force-directed graph with identified clusters
plot_forceDirectedGraph_label_by_clusters(
object,
show_method = c("walktrap", "louvain", "kmeans", "merged_walktrap", "merged_louvain",
"merged_kmeans"),
vertex.size = 2,
mark.clusters = TRUE,
mark.font.size = 10,
mark.font.color = "yellow",
add.cluster.in.cells = FALSE,
cluster.font.size = 1,
cluster.font.color = "yellow",
edge.size = 0.2,
edge.color = "gray",
background.color = "white"
)
object |
The SingCellaR object. |
show_method |
The clustering method names used to generate clusters. |
mark.clusters |
is logical. If TRUE, the number of identified clusters will be displayed. |
mark.font.size |
The font size of the cluster name. Default 10 |
mark.font.color |
The font color of the cluster name. Default yellow |
add.cluster.in.cells |
is logical. If TRUE, the cluster name will be displayed in each data point. |
cluster.font.size |
The font size of cluster name in each data point. Default 1 |
cluster.font.color |
The font color of cluster name in each data point. Default yellow |
edge.size |
The size of the edge. Default 0.2 |
edge.color |
The edge color. Default gray |
background.color |
The background color. Default white |
vertext.size |
The node size. Default 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.