filter_by_resource: Filters OmniPath data by resources

View source: R/resources.R

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


saezlab/OmnipathR documentation built on April 17, 2024, 9:39 p.m.