make a network plot of a set of co-expressed features
1 2 3 4 5 6 7 8 9 10 | plot_network(
mat_datExpr,
vec_geneImportance,
vec_genes_highlight = c(),
n_max_genes = 50,
igraph_algorithm = "drl",
fontface_labels = "bold.italic",
color_edge = "grey70",
edge_thickness = 1
)
|
mat_datExpr |
gene * sample expression matrix |
vec_geneImportance |
vector of weights with corresponding features as names |
vec_genes_highlight |
optional vector of genes to highlight |
n_max_genes |
max number of genes to include, in order of weight |
igraph_algorithm |
passed as the algorithm argument to ggraph() |
fontface_labels |
one of 'normal', 'bold', 'italic', 'bold italic' |
color_edge |
color for network edges, character |
edge_thickness |
controls edge thickness, which varies by co-expression |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.