createManualComplexAnnotations: Given a DF with columns 'complex_id', and another column...

Description Usage Arguments Value Examples

View source: R/manualComplexFeatureAnnotation.R

Description

Given a DF with columns 'complex_id', and another column holding comma-separated strings of numbers, create a long list style DF where each row corresponds to a number.

Usage

1
createManualComplexAnnotations(annotations, apex.col.name)

Arguments

annotations

A data.frame with columns 'complex_id' and a second column with comma-separated retention times of the complex features.

apex.col.name

The name of the column that holds the retention times.

Value

A data.table with the following columns: 'complex_id', 'rt'.

Examples

1
2
3
4
manual.annotations.raw <- readManualAnnotationFile('somefile.tsv')
manual.annotations <-
    createManualComplexAnnotations(manual.annotations.raw$annotations,
                                   'apexes_partially_observed')

hafenr/MACode documentation built on May 17, 2019, 2:24 p.m.