plot_ShortestPath_on_forceDirectedGraph_label_by_clusters: Plot the shortest-path on the force-directed graph with...

View source: R/SingleCellPlots.R

plot_ShortestPath_on_forceDirectedGraph_label_by_clustersR Documentation

Plot the shortest-path on the force-directed graph with identified clusters

Description

Plot the shortest-path on the force-directed graph with identified clusters

Usage

plot_ShortestPath_on_forceDirectedGraph_label_by_clusters(
  object,
  start_cluster = "",
  end_cluster = "",
  show_method = c("walktrap", "louvain", "kmeans"),
  vertex.size = 2,
  path.size = 2,
  path.type = 1,
  path.color = "red",
  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"
)

Arguments

object

The SingCellaR object.

start_cluster

The starting cluster.

end_cluster

The ending cluster.

show_method

The clustering method names used to generate clusters.

vertex.size

The node size. Default 2

path.size

The path size. Default 2

path.type

The path type. Default 1

path.color

The path color. Default red

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


supatt-lab/SingCellaR documentation built on Aug. 24, 2023, 5:49 p.m.