filter_by_resource {OmnipathR} | R Documentation |
Keeps only those records which are supported by any of the resources of interest.
filter_by_resource(data, resources = NULL)
data |
A data frame downloaded from the OmniPath web service (interactions, enzyme-substrate or complexes). |
resources |
Character vector with resource names to keep. |
The data frame filtered.
interactions <- import_omnipath_interactions() signor <- filter_by_resource(interactions, resources = 'SIGNOR')