resources_colname {OmnipathR} | R 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"

[Package OmnipathR version 3.0.0 Index]