mergeonassis: 'mergeonassis'

Description Usage Arguments Value Examples

Description

This method unifies the entities of two Onassis objects

Usage

1
2
3
4
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

1
2
3
4
5
6
7
8
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)

eugeniaeueu/Onassis documentation built on March 9, 2020, 8:17 a.m.