## makeGeneMeSHPackage enable users to construct
## user's own custom MeSH package
## this is test data which means the relationship between
## Entrez gene IDs of Pseudomonas aeruginosa PAO1
## and its MeSH IDs.
data(PAO1)
head(PAO1)
# We are also needed to prepare meta data as follows.
data(metaPAO1)
metaPAO1
## sets up a temporary directory for this example
## (users won't need to do this step)
destination <- tempfile()
dir.create(destination)
## makes an Organism package for human called Homo.sapiens
makeGeneMeSHPackage(pkgname = "MeSH.Pae.eg.db",
data = PAO1,
metadata = metaPAO1,
organism = "Pseudomonas aeruginosa PAO1",
version = "1.0.0",
maintainer = "Koki Tsuyuzaki <k.t.the-answer@hotmail.co.jp>",
author = "Koki Tsuyuzaki",
destDir = destination,
license="Artistic-2.0")
Run the code above in your browser using DataLab