get_link_list_rename | R Documentation |
This function converts an adjacency matrix to a data frame of network links, subset to the most important ones.
get_link_list_rename(weightMat, plotConnections)
weightMat |
the (weighted) adjacency matrix - regulators in rows, targets in columns |
plotConnections |
the number of connections to subset to |
A data frame with fields from, to and value, describing the edges of the network
weightMat <- matrix( c(0.1, 0.4, 0.8, 0.3), nrow = 2, ncol = 2, dimnames = list("regulators" = c("r1", "r2"), "targets" = c("t1", "t2")) ) get_link_list_rename(weightMat, 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.