Skip to contents

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

Usage

ProcessGMEdgefile(gm.edgefile.path, gm.nodetable.path, db_nodes.path)

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

Value

Data frame of consisting of the network of interactions from the genes of study

Examples

ex.edgefile <- system.file("extdata/ex_gm_edgetable.csv", package = "PTMsToPathways")
ex.nodefile <- system.file("extdata/ex_gm_nodetable.csv", package = "PTMsToPathways")
ex.db.nodes  <- system.file("extdata/ex_db_nodes.txt", package = "PTMsToPathways")
Example_Output <- ProcessGMEdgefile(ex.edgefile, ex.nodefile, ex.db.nodes)
#> Error in start_line[1]:(end_line[1] - 1): NA/NaN argument
utils::head(Example_Output)
#> Error: object 'Example_Output' not found