Skip to contents

Keeps only those records which are supported by any of the resources of interest.

Usage

filter_by_resource(data, resources = NULL)

Arguments

data

A data frame downloaded from the OmniPath web service (interactions, enzyme-substrate or complexes).

resources

Character vector with resource names to keep.

Value

The data frame filtered.

Examples

interactions <- import_omnipath_interactions()
signor <- filter_by_resource(interactions, resources = 'SIGNOR')