Imports interactions from the `omnipath` dataset of Omnipath, a dataset that inherits most of its design and contents from the original OmniPath core from the 2016 publication. This dataset consists of about 40k interactions.
Usage
omnipath(
resources = NULL,
organism = 9606L,
fields = NULL,
default_fields = TRUE,
references_by_resource = TRUE,
exclude = NULL,
strict_evidences = FALSE,
...
)
Arguments
- resources
interactions not reported in these databases are removed. See
get_interaction_resources
for more information.- organism
Interactions are available for human, mouse and rat. Choose among: 9606 human (default), 10116 rat and 10090 Mouse
- fields
The user can define here the fields to be added. If used, set the next argument, `default_fields`, to FALSE.
- default_fields
whether to include the default fields (columns) for the query type. If FALSE, only the fields defined by the user in the `fields` argument will be added.
- references_by_resource
if FALSE, removes the resource name prefixes from the references (PubMed IDs); this way the information which reference comes from which resource will be lost and the PubMed IDs will be unique.
- exclude
Character: datasets or resources to exclude.
- strict_evidences
Logical: restrict the evidences to the queried datasets and resources. If set to FALSE, the directions and effect signs and references might be based on other datasets and resources.
- ...
optional additional arguments, passed to
import_omnipath_interactions
.
Examples
pathways <- omnipath()
pathways
#> # A tibble: 81,529 × 15
#> source target sourc…¹ targe…² is_di…³ is_st…⁴ is_in…⁵ conse…⁶ conse…⁷ conse…⁸
#> <chr> <chr> <chr> <chr> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl>
#> 1 P0DP23 P48995 CALM1 TRPC1 1 0 1 1 0 1
#> 2 P0DP25 P48995 CALM3 TRPC1 1 0 1 1 0 1
#> 3 P0DP24 P48995 CALM2 TRPC1 1 0 1 1 0 1
#> 4 Q03135 P48995 CAV1 TRPC1 1 1 0 1 1 0
#> 5 P14416 P48995 DRD2 TRPC1 1 1 0 1 1 0
#> 6 Q99750 P48995 MDFI TRPC1 1 0 1 1 0 1
#> 7 Q14571 P48995 ITPR2 TRPC1 1 1 0 1 1 0
#> 8 P29966 P48995 MARCKS TRPC1 1 0 1 1 0 1
#> 9 Q13255 P48995 GRM1 TRPC1 1 1 0 1 1 0
#> 10 Q13586 P48995 STIM1 TRPC1 1 1 0 1 1 0
#> # … with 81,519 more rows, 5 more variables: sources <chr>, references <chr>,
#> # curation_effort <dbl>, n_references <int>, n_resources <int>, and
#> # abbreviated variable names ¹source_genesymbol, ²target_genesymbol,
#> # ³is_directed, ⁴is_stimulation, ⁵is_inhibition, ⁶consensus_direction,
#> # ⁷consensus_stimulation, ⁸consensus_inhibition