pivot_annotations: Converts annotation tables to a wide format

Description Usage Arguments Value

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

1
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.


OmnipathR documentation built on Nov. 8, 2020, 8:10 p.m.