Description Usage Arguments Value References See Also Examples
Convert a data frame containing the gene interaction list into a form usable by the other functions in the library. This is just a wrapper around the igraph graph.edgelist function, which creates and returns an igraph object with a data frame containing the in and outdegrees.
1 | createIGraphObject(geneInteractions)
|
geneInteractions |
- a data frame that contains the gene interaction
graph in two columns, the first being the source HGNCSymbol and the second
being the target HGNCSymbol of an interaction. See
|
A list containing igraph_object - the igraph object and vertex_map - a frame containing node attributes currently indegree and outdegree
http://igraph.org/r/doc/graph_from_edgelist.html
getGeneInteractionsromReactomeMITAB
,
getGeneInteractionsFromIRefMITAB
1 2 3 4 5 6 7 8 | ## Not run:
data_folder=tempdir()
usmap<-getUniProtToHGNCSymbolMapping(data_folder)
mitab <- downloadReactomeInteractionsMITAB(data_folder)
geneInteraction <- getGeneInteractionListFromReactomeMITAB(mitab,usmap)
ppiGraph<-createIGraphObject(geneInteraction)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.