Skip to contents

Returns data frame with supported interaction types

Usage

get_interaction_types(opts = list(), read_csv = read_csv_online)

Arguments

opts

list of named options to configure GloBI API

read_csv

function used to find csv associated to query url, defaulting to online query method

Value

Returns data frame of supported interaction types

Examples

# \donttest{
get_interaction_types()
#>              interaction       source       target
#> 1                   eats     consumer         food
#> 2                eatenBy         food     consumer
#> 3                preysOn     predator         prey
#> 4           preyedUponBy         prey     predator
#> 5                  kills       killer       victim
#> 6               killedBy       victim       killer
#> 7             parasiteOf     parasite         host
#> 8            hasParasite         host     parasite
#> 9         endoparasiteOf endoparasite         host
#> 10       hasEndoparasite         host endoparasite
#> 11        ectoparasiteOf ectoparasite         host
#> 12       hasEctoparasite         host ectoparasite
#> 13          parasitoidOf   parasitoid         host
#> 14         hasParasitoid         host   parasitoid
#> 15                hostOf         host     symbiont
#> 16               hasHost     symbiont         host
#> 17            pollinates   pollinator        plant
#> 18          pollinatedBy        plant   pollinator
#> 19            pathogenOf     pathogen         host
#> 20          allelopathOf     pathogen         host
#> 21           hasPathogen         host     pathogen
#> 22              vectorOf       vector     pathogen
#> 23             hasVector     pathogen       vector
#> 24     dispersalVectorOf       vector         seed
#> 25    hasDispersalVector         seed       vector
#> 26            hasHabitat   inhabitant      habitat
#> 27     createsHabitatFor      habitat   inhabitant
#> 28            epiphyteOf  plant/algae   host plant
#> 29           hasEpiphyte        plant  plant/algae
#> 30  providesNutrientsFor         host     consumer
#> 31 acquiresNutrientsFrom     consumer         host
#> 32            symbiontOf     symbiont     symbiont
#> 33           mutualistOf    mutualist    mutualist
#> 34        commensalistOf commensalist commensalist
#> 35      flowersVisitedBy        plant      visitor
#> 36       visitsFlowersOf      visitor        plant
#> 37 ecologicallyRelatedTo       source       target
#> 38          coOccursWith       source       target
#> 39          coRoostsWith       source       target
#> 40         interactsWith       source       target
#> 41            adjacentTo       source       target
#>                                      termIRI
#> 1  http://purl.obolibrary.org/obo/RO_0002470
#> 2  http://purl.obolibrary.org/obo/RO_0002471
#> 3  http://purl.obolibrary.org/obo/RO_0002439
#> 4  http://purl.obolibrary.org/obo/RO_0002458
#> 5  http://purl.obolibrary.org/obo/RO_0002626
#> 6  http://purl.obolibrary.org/obo/RO_0002627
#> 7  http://purl.obolibrary.org/obo/RO_0002444
#> 8  http://purl.obolibrary.org/obo/RO_0002445
#> 9  http://purl.obolibrary.org/obo/RO_0002634
#> 10 http://purl.obolibrary.org/obo/RO_0002635
#> 11 http://purl.obolibrary.org/obo/RO_0002632
#> 12 http://purl.obolibrary.org/obo/RO_0002633
#> 13 http://purl.obolibrary.org/obo/RO_0002208
#> 14 http://purl.obolibrary.org/obo/RO_0002209
#> 15 http://purl.obolibrary.org/obo/RO_0002453
#> 16 http://purl.obolibrary.org/obo/RO_0002454
#> 17 http://purl.obolibrary.org/obo/RO_0002455
#> 18 http://purl.obolibrary.org/obo/RO_0002456
#> 19 http://purl.obolibrary.org/obo/RO_0002556
#> 20 http://purl.obolibrary.org/obo/RO_0002555
#> 21 http://purl.obolibrary.org/obo/RO_0002557
#> 22 http://purl.obolibrary.org/obo/RO_0002459
#> 23 http://purl.obolibrary.org/obo/RO_0002460
#> 24                                  no:match
#> 25                                  no:match
#> 26 http://purl.obolibrary.org/obo/RO_0002303
#> 27 http://purl.obolibrary.org/obo/RO_0008505
#> 28 http://purl.obolibrary.org/obo/RO_0008501
#> 29 http://purl.obolibrary.org/obo/RO_0008502
#> 30 http://purl.obolibrary.org/obo/RO_0002469
#> 31 http://purl.obolibrary.org/obo/RO_0002457
#> 32 http://purl.obolibrary.org/obo/RO_0002440
#> 33 http://purl.obolibrary.org/obo/RO_0002442
#> 34 http://purl.obolibrary.org/obo/RO_0002441
#> 35 http://purl.obolibrary.org/obo/RO_0002623
#> 36 http://purl.obolibrary.org/obo/RO_0002622
#> 37 http://purl.obolibrary.org/obo/RO_0002321
#> 38 http://purl.obolibrary.org/obo/RO_0008506
#> 39 http://purl.obolibrary.org/obo/RO_0002801
#> 40 http://purl.obolibrary.org/obo/RO_0002437
#> 41 http://purl.obolibrary.org/obo/RO_0002220
# }