View source: R/netwokHelpers.R
createNetworkGenesTemplate | R Documentation |
Create a network genes data frame. Optionally store it as csv and open it for editing To create an ingres object, a data frame with the network nodes and the corresponding gene symbols must be provided. This function simplifies the process. If the gene nodes are correct gene symbols, then modification is not needed and the returned data frame can be directly passed to the ingres constructors.
createNetworkGenesTemplate(network, dir = getwd(), store = TRUE, modify = TRUE)
network |
A tidygraph network. |
dir |
The directory where the csv will be stored, if applicable. |
store |
If true, store the data frame as a csv |
modify |
If true, and store is also true, open it to be modified by the user |
The template data frame.
tmp = tempdir() createNetworkGenesTemplate(network, dir = tmp) file.remove(paste(tmp, "/networkGenes.csv")) # cleanup
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.