if (FALSE) {
# replace my path name for gobasic with your own!!
# this was obtained from the download sites listed in 'details' section
GO<-parseGOBASIC("~/go-basic.obo",verbose=FALSE)
# GO$bp[1:5,]
# GO NAME ONTOLOGY
# GO:0000001 "GO:0000001" "mitochondrion inheritance" "biological_process"
# GO:0000002 "GO:0000002" "mitochondrial genome maintenance" "biological_process"
# GO:0000011 "GO:0000011" "vacuole inheritance" "biological_process"
# GO:0000012 "GO:0000012" "single strand break repair" "biological_process"
# GO:0000017 "GO:0000017" "alpha-glucoside transport" "biological_process"
}
# here is a small example that you can run
f<-system.file("extdata","go-basic.small.obo",package="minimalistGODB")
GOsmall<-parseGOBASIC(f)
Run the code above in your browser using DataLab