Learn R Programming

HEMDAG (version 2.1.3)

do.edges.from.HPO.obo: Parse an HPO OBO file

Description

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 vertices separated by blanks

Usage

do.edges.from.HPO.obo(file = "hp.obo", output.file = "edge.file")

Arguments

file

an HPO OBO file

output.file

name of the file of the edges to be written

Value

a text file representing the edges in the format: source destination (i.e. one row for each edge)

Examples

Run this code
# NOT RUN {
hpobo <- "http://purl.obolibrary.org/obo/hp.obo";
do.edges.from.HPO.obo(file=hpobo, output.file="hp.edge");
# }

Run the code above in your browser using DataLab