View source: R/SingleCellPlots.R
plot_forceDirectedGraph_label_by_genes | R Documentation |
Plot force-directed graph with gene expression
plot_forceDirectedGraph_label_by_genes(
object,
gene_list = c(),
vertex.size = 0.5,
vertex.color1 = "blue",
vertex.color2 = "red",
edge.size = 0.2,
edge.color = "gray",
vertex.base.color = "gray35",
background.color = "white"
)
object |
The SingCellaR object. |
gene_list |
The vector of genes. |
vertex.color1 |
The first color of gene expression gradient. Default blue |
edge.size |
The size of the edge. Default 0.2 |
edge.color |
The edge color. Default gray |
vertex.base.color |
The node base color. Default gray35 |
background.color |
The background color. Default white |
vertext.size |
The node size. Default 0.5 |
vertext.color2 |
The second color of gene expression gradient. Default red |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.