Description Usage Arguments Value
View source: R/funs_plot_net.R
This function creates an image that visualize a Patient Similarity Network (PSN)
1 2 3 4 5 6 7 | plot_network(
m,
top_connections = 30,
node_highlight = "all",
image_type = "png",
image_name = "plot_network"
)
|
m |
a similarity matrix |
top_connections |
an integer in [1,100], percentage of top connection to visualize |
node_highlight |
a string or vector of strinvs indicating the node id(s) to highlight in the network. By default all connections in top_connection are highlited |
image_type |
a string indicating the format of the output image |
image_name |
a string containing the name of the output image |
label1 |
a string indicating the name of the first class |
label2 |
a string indicating the name of the second class |
a list representing a qgraph object. The method saves an image with the visualization of the network
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.