This function processes the GM edgefile and translates it back into gene names using the nodetable.

ProcessGMEdgefile(
  gm.edgefile.path,
  gm.nodetable.path,
  db_nodes.path,
  gm.network.name = "gm.network"
)

Arguments

gm.edgefile.path

path to GeneMANIA edgefile

gm.nodetable.path

path to GeneMANIA nodetable

db_nodes.path

path to the node file from MakeDBInput

gm.network.name

desired name for the output genemania network; defaulted to gm.network

Value

GeneMANIA ppi network table

Examples

cccn.cfn.tools:::ex.ProcessGMEdgefile("edgefile.csv", "nodetable.csv", ex.nodenames, ex.gm.network)
#>   Gene.1  Gene.2 raw.weights
#> 1   TET2   ITGB6 0.018457873
#> 2  NUTF2    SMG1 0.036766008
#> 3  CIP2A PLEKHG1 0.010572419
#> 4  TOR4A   ITGB6 0.018083615
#> 5 ALYREF PLEKHG1 0.008641606
#> 6 ALYREF   TOR4A 0.015781995