makePMG {makePMG} | R Documentation |
Given a Bioconductor data packages, this function creates a data package containing PubMed co-citation graphs with nodes being specified ids and edges linking two nodes that were co-cited by papers abstracted by NLM
makePMG(pkgName, pkgPath, author, version)
pkgName |
pkgName a character string for the name of a
Bioconductor data package |
pkgPath |
pkgPath a character string for the path where
the newly created package will be stored. A new directory with the
name of the data package appended by "graph" will be created in the path |
author |
author a list with two elements. name - a
character string for the name of the maintainer of the new package
and address - the email address of the maintainer |
version |
version a character string for the version
number of the package to be created |
This function is applicaple to all Bioconductor data packages. For non-Bioconductor packages, the data package should have environments pkgNamePMID, pkgNamePMID2PROBE, pkgNameSYMBOL, and pkgNameLOCUSID. The function then creates a data package named pkgNamegraph that contains three graph objects with PROBE, SYMBOL, and LOCUSID as ids for nodes.
This function does not return any value
This function is part of the Bioconductor project at Dana-Farber Cancer Institute to provide Bioinformatics functionalities through R
Jianhua Zhang
http://wwww.ncbi.nlm.nih.gov/PubMed/
if(interactive()){ if(require("hgu95av2")){ makePMG("hgu95av2", tempdir(), list(name = "yourName", address = "yourEMail"), "yourVersion") }else{ stop("Data package unavailable") } }