mergeDB: merge two orgDB with keys

View source: R/mergeDB.R

mergeDBR Documentation

merge two orgDB with keys

Description

merge two orgDB with keys

Usage

mergeDB(
  dbleft,
  dbright,
  keyleft = "GID",
  keyright = "GID",
  keytype = NULL,
  keep = NULL,
  species = NULL,
  author = NULL,
  maintainer = NULL,
  tax_id = NULL,
  genus = NULL,
  version = NULL,
  pkgname = NULL,
  install = TRUE,
  outputDir = NULL,
  rebuild = FALSE
)

Arguments

dbleft

a charater indicate the left orgDB

dbright

a character indicate the right orgDB

keyleft

the keytype use for merging in left orgDB

keyright

the keytype use for merging in the right orgDB

keytype

the keytypes to be included in the merged orgDB ("GID","GENENAME")

keep

the name of keytype you used if keyleft and keyright were not same

species

the species name

author

author for the annotation package

maintainer

maintainer for the annotation package

tax_id

taxonomy id for the species

genus

genus name for the annotation package

version

version number for the annotation package

pkgname

package name you want to choose

install

install the package or not(default: TRUE)

outputDir

temporary output path

rebuild

rebuild the package or not(default: FALSE)

Author(s)

Kai Guo

Examples

fromKEGG(species = "hsa", anntype="KEGG")
fromAnnHub(species="human")
mergeDB("org.hsa.eg.db","org.human.eg.db",species="merge")

guokai8/bioAnno documentation built on May 8, 2023, 12:42 p.m.