Nothing
#' @title create network from table
#' @description
#' Creates a network from an internal data table created from a .sif file:
#' this function converts the data read in from the .sif file into
#' an igraph in R.
#'
#' @param dataTable the data table containing the information read in from the .sif file representing the network.
#' @return an igraph network
CreateNetworkFromTable <- function(dataTable) {
matrixOfInteractions <- as.matrix(dataTable)
# Use the first and third colums (names of genes that define an edge) to build the network
network <- igraph::graph_from_edgelist(matrixOfInteractions[, -2], TRUE)
return(network)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.