Description Usage Arguments Details Value Examples
View source: R/graph.utility.R
Read an HPO obo file (HPO) and write the edges of the dag on a plain text file. The format of the file is a sequence of rows and each row corresponds to an edge represented through a pair of vertexes separated by blank.
1 | build.edges.from.hpo.obo(obofile = "hp.obo", file = "edge.file")
|
obofile |
an HPO obo file. The extension of the obofile can be plain (".txt") or compressed (".gz"). |
file |
name of the file of the edges to be written. The extension of the file can be plain (".txt") or compressed (".gz"). |
A faster and more flexible parser to handle obo file can be found here.
A text file representing the edges in the format: source destination (i.e. one row for each edge).
1 2 3 4 | ## Not run:
hpobo <- "http://purl.obolibrary.org/obo/hp.obo";
build.edges.from.hpo.obo(obofile=hpobo, file="hp.edge");
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.