From bbd3b4871ddb103838624163a14be568bb20245b Mon Sep 17 00:00:00 2001
From: allenbaron Usage
onto_path,
omim_input,
keep_mim = c("#", "%"),
- include_hasDbXref = TRUE
+ include_pred = c("skos:exactMatch", "skos:closeMatch", "oboInOwl:hasDbXref"),
+ when_pred_NA = "error"
)
@@ -86,10 +87,18 @@
ArgumentsOMIM defined MIM symbols are:
MIM symbol | MIM type |
* | gene |
+ | gene, includes phenotype |
# | phenotype |
% | phenotype, unknown molecular basis |
^ | deprecated |
none | phenotype, suspected/overlap |
Whether oboInOwl:hasDbXref
's should be included in
-tests for "one-to-multiple" mappings, as a boolean (default: TRUE
).
-skos:exactMatch
& skos:closeMatch
mappings are always included.
The predicates to include when testing for one-to-multiple
+mappings, as a character vector (default: skos:exactMatch
,
+skos:closeMatch
, and oboInOwl:hasDbXref
). All other predicates are
+ignored.
What to do when missing predicates are detected, as a
+string; one of "error" (default), "warn", or NULL (do nothing). NA
+predicates are always ignored when no mapping exists (i.e. one or both
+corresponding values of x
or y
is/are also NA
).
Identifies values in x
that map to multiple values in y
for
-skos:exactMatch
or skos:closeMatch
(and optionally also
-oboInOwl:hasDbXref
) mapping predicates.
Identifies values in x
that map to multiple values in y
for specified
+mapping predicates.
multimaps(x, pred, y, include_hasDbXref = TRUE)
multimaps(
+ x,
+ pred,
+ y,
+ include_pred = c("skos:exactMatch", "skos:closeMatch", "oboInOwl:hasDbXref"),
+ when_pred_NA = "error"
+)