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 <- complexes()
resources_colname(co)
# [1] "sources"


saezlab/OmnipathR documentation built on Nov. 10, 2024, 11:02 p.m.