Skip to content

Commit

Permalink
Remove get_hpo function
Browse files Browse the repository at this point in the history
  • Loading branch information
bschilder committed Jan 8, 2025
1 parent 11553e7 commit 87f2671
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 89 deletions.
1 change: 0 additions & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ export(get_gencc)
export(get_gene_lengths)
export(get_genes_disease)
export(get_graph_colnames)
export(get_hpo)
export(get_monarch)
export(get_monarch_files)
export(get_monarch_kg)
Expand Down
2 changes: 2 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
* `get_opentargets`: Limit threads and files to import in example.
* Merge fixes by @HDash https://github.com/neurogenomics/KGExplorer/pull/2
* `dt_to_kg`: fix reference to graph `g`.
* `get_hpo`
- Remove ported function to avoid conflicting namespaces. Instead, simply use `get_ontology("hpo")`

# KGExplorer 0.99.05

Expand Down
43 changes: 0 additions & 43 deletions R/get_hpo.R

This file was deleted.

2 changes: 1 addition & 1 deletion R/map_upheno_data_i.R
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ map_upheno_data_i <- function(pheno_map_method,
pheno_map[,db1:=gsub("*:.*","",basename(id1))]
} else if(pheno_map_method=="monarch"){

hpo <- get_hpo()
hpo <- get_ontology(name = "hpo")
out <- monarchr::monarch_search(query = NULL,
category = "biolink:PhenotypicFeature",
limit = 500)
Expand Down
62 changes: 18 additions & 44 deletions man/get_.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 87f2671

Please sign in to comment.