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 <- omnipath()
signor <- filter_by_resource(interactions, resources = "SIGNOR")


saezlab/OmnipathR documentation built on Oct. 16, 2024, 11:49 a.m.