createNetworkGenesTemplate: 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.
Description
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.
Usage
createNetworkGenesTemplate(network, dir = getwd(), store = TRUE, modify = TRUE)
Value
The template data frame.
Arguments
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