Description Usage Arguments Details Value Examples
An R data frame containing the network data is created from a file with at least two columns, i.e. all the pair wise interactions of the nodes in the network. The user specifies the two relevant columns and the information is extracted from the file.
1 | import_network(infile, columns = c(1, 2))
|
infile |
file containing network data |
columns |
columns in the file with pairwise interactions |
A tab-delimited text file with the interactions is used as input. The data is extracted from the indicated columns where each line indicates a pairwise interaction between two nodes (Note: all other information in the file will be excluded and only the columns indicated will be used to construct the network). The data is formatted, and a matrix with the all interactions for each node is produced. Summary of the network features is provided.
A matrix representing the network.
1 2 3 4 | ## Not run:
network <- import_network("example_network_Cyt.txt")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.