From 6aafb4ed8ce32f43eca391e804f7dc298d9078f3 Mon Sep 17 00:00:00 2001 From: "Brian M. Schilder" <34280215+bschilder@users.noreply.github.com> Date: Fri, 26 Jan 2024 20:57:16 +0000 Subject: [PATCH] Fix filter_graph arg --- R/make_igraph_object.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/make_igraph_object.R b/R/make_igraph_object.R index 45bc838..9ff429d 100644 --- a/R/make_igraph_object.R +++ b/R/make_igraph_object.R @@ -33,7 +33,7 @@ make_igraph_object <- function(phenos, terms = phenos$hpo_id, to = "tbl_graph") g <- KGExplorer::filter_graph(g, - filters = list(name=phenos$hpo_id)) + node_filters = list(name=phenos$hpo_id)) pcols <- intersect(names(phenos), names(cols)) gcols <- KGExplorer::get_graph_colnames(g) cols <- setdiff(pcols, gcols)