mergeManualComplexAnnotations: Merge the RTs for apexes of 'apex.type' for two DTs. dt1 is...

Description Usage Arguments Examples

View source: R/manualComplexFeatureAnnotation.R

Description

Merge the RTs for apexes of 'apex.type' for two DTs. dt1 is treated as the reference DT. Merge two data.tables where each row corresponds to manually annotated complex feature. The table must have the columns: 'complex_id' and 'rt'.

Usage

1

Arguments

dt1

The first DT.

dt2

The second DT.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
manual.annotations.1.raw <- readManualAnnotationFile(annotations.1.raw)
manual.annotations.2.raw <- readManualAnnotationFile(annotations.2.raw)
manual.annotations.1 <-
    createManualComplexAnnotations(manual.annotations.1.raw$annotations,
                                   'apexes_partially_observed')
manual.annotations.2 <-
    createManualComplexAnnotations(manual.annotations.2.raw$annotations,
                                   'apexes_partially_observed')
manual.annotations <- mergeManualComplexAnnotations(manual.annotations.1,
                                                    manual.annotations.2)

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