import_small_molecule_protein_interactions | R Documentation |
Imports the dataset from: https://omnipathdb.org/interactions?datasets=small_molecule, which contains small molecule-protein interactions. Small molecules can be metabolites, intrinsic ligands or drug compounds.
import_small_molecule_protein_interactions(
resources = NULL,
organism = 9606,
fields = NULL,
default_fields = TRUE,
references_by_resource = TRUE,
exclude = NULL,
strict_evidences = FALSE,
...
)
resources |
interactions not reported in these databases are
removed. See |
organism |
Interactions are available for human, mouse and rat. Choose among: 9606 human (default), 10116 rat and 10090 Mouse. |
fields |
Optional fields to be added. |
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 |
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 |
A dataframe of small molecule-protein interactions
get_interaction_resources
import_all_interactions
interaction_graph
print_interactions
# What are the targets of aspirin?
interactions <-
import_small_molecule_protein_interactions(
sources = 'ASPIRIN'
)
# The prostaglandin synthases:
interactions
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.