toigraph: toigraph

Description Usage Arguments Value Examples

Description

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

Usage

1
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

1
2
#cooccurNetwork  = cooc(dataFile=getexample(dataType="protein"),dataType="protein")
#network_igraph = toigraph(networkFile=cooccurNetwork$networkFile, networkName=c("EPI823725")

cooccurNet documentation built on May 2, 2019, 5:51 a.m.