pivot_annotations {OmnipathR} | R Documentation

## Converts annotation tables to a wide format

### Description

Use this method to reconstitute the annotation tables into the format of the original resources. With the 'wide=TRUE' option `import_omnipath_annotations` applies this function to the downloaded data.

### Usage

    pivot_annotations(annotations)

### Arguments

`annotations` | A data frame of annotations downloaded from the OmniPath web service.

### Value

A wide format tibble if the provided data contains annotations from one resource, otherwise a list of wide format tibbles.

[Package OmnipathR version 2.0.0 Index]