resources_colname {OmnipathR} | R Documentation |
Unfortunately the column title is different across the various query types in the OmniPath web service, so we need to guess.
resources_colname(data)
data |
A data frame downloaded by any |
Character: the name of the column, if any of the column names matches.
co <- import_omnipath_complexes() resources_colname(co) # [1] "sources"