resources_colname: Name of the column with the resources

View source: R/resources.R

resources_colnameR Documentation

Name of the column with the resources

Description

Unfortunately the column title is different across the various query types in the OmniPath web service, so we need to guess.

Usage

resources_colname(data)

Arguments

data

A data frame downloaded by any import_... function in the current package.

Value

Character: the name of the column, if any of the column names matches.

Examples

co <- import_omnipath_complexes()
resources_colname(co)
# [1] "sources"


saezlab/OmnipathR documentation built on May 3, 2024, 5:32 a.m.