Learn R Programming

cooccurNet (version 0.1.6)

toigraph: toigraph

Description

transform a network file to the igraph.data.frame type by specifying a network file name and a network name

Usage

toigraph(networkFile="", networkNames=c())

Arguments

networkFile
character, a file name with full path for storing the co-occurrence network for each row and generated from cooc() or gencooccur().
networkNames
character, a vector of network names

Value

a list of igraph::graph.data.frame object ordered by the input network names.

Examples

Run this code
#cooccurNetwork  = cooc(dataFile=getexample(dataType="protein"),dataType="protein")
#network_igraph = toigraph(networkFile=cooccurNetwork$networkFile, networkName=c("EPI823725")

Run the code above in your browser using DataLab