mergeonassis {Onassis} | R Documentation

## `mergeonassis`

### Description

This method unifies the entities of two Onassis objects

### Usage

    mergeonassis(onassis1 = NA, onassis2 = NA)

    ## S4 method for signature 'Onassis,Onassis'
    mergeonassis(onassis1 = NA, onassis2 = NA)

### Arguments

`onassis1` | instance of class `Onassis-class`
`onassis2` | instance of class `Onassis-class`

### Value

new object of type `Onassis-class` with merged entities

### Examples

    geo_chip <- readRDS(system.file('extdata', 'vignette_data',
    'GEO_human_chip.rds', package='Onassis'))
    geo_chip <- geo_chip[sample(nrow(geo_chip), 15) ,]
    obo1 <- system.file('extdata', 'sample.cs.obo', package='OnassisJavaLibs')
    obo2 <- system.file('extdata', 'sample.do.obo', package='OnassisJavaLibs')
    onassis_results1 <- annotate(geo_chip, 'OBO', dictionary=obo1)
    onassis_results2 <- annotate(geo_chip, 'OBO', dictionary=obo2)
    onassis_results <- mergeonassis(onassis_results1, onassis_results2)

[Package Onassis version 1.6.1 Index]