get_interaction_matrix | R Documentation |
Get Interaction Matrix. Constructs an interaction matrix indicating whether source taxa (rows) or target taxa (columns) are known to interact with given type.
get_interaction_matrix(
source.taxon.names = list("Homo sapiens"),
target.taxon.names = list("Mammalia"),
interaction.type = "eats",
opts = list(),
read_csv = read_csv_online
)
source.taxon.names |
list of source taxon names (e.g. list('Mammalia', 'Aves', 'Ariopsis felis')) |
target.taxon.names |
list of target taxon names |
interaction.type |
the preferred interaction type (e.g. preysOn) |
opts |
list of options to configure GloBI API |
read_csv |
function used to find csv associated to query url, defaulting to online query method |
matrix representing species interactions between source and target taxa
Other interactions:
get_interaction_types()
,
get_interactions_by_taxa()
,
get_interactions_by_type()
,
get_interactions()
,
get_predators_of()
,
get_prey_of()
get_interaction_matrix("Homo sapiens", "Mammalia", "interactsWith")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.