HubGeneNetworkPlot | R Documentation |
Construct a unified network plot comprising hub genes for multiple modules.
HubGeneNetworkPlot(
seurat_obj,
mods = "all",
n_hubs = 6,
n_other = 3,
sample_edges = TRUE,
edge_prop = 0.5,
return_graph = FALSE,
edge.alpha = 0.25,
vertex.label.cex = 0.5,
hub.vertex.size = 4,
other.vertex.size = 1,
wgcna_name = NULL,
...
)
seurat_obj |
A Seurat object |
mods |
Names of the modules to plot. If mods = "all", all modules are plotted. |
n_hubs |
The number of hub genes to plot for each module. |
n_other |
The number of non-hub genes to sample from each module |
edge_prop |
The proportion of edges in the graph to sample. |
return_graph |
logical determining whether we return the graph (TRUE) or plot the graph (FALSE) |
edge.alpha |
Scaling factor for the edge opacity |
vertex.label.cex |
The font size of the gene labels |
hub.vertex.size |
The size of the hub gene nodes |
other.vertex.size |
The size of the other gene nodes |
wgcna_name |
The name of the hdWGCNA experiment in the seurat_obj@misc slot |
HubGeneNetworkPlot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.