filter_by_resource {OmnipathR} | R Documentation

## Filters OmniPath data by resources

### Description

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')

[Package OmnipathR version 3.2.0 Index]