makePMG {makePMG}R Documentation

Function to create a data package containing graphs

Description

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

Usage

makePMG(pkgName, pkgPath, author, version)

Arguments

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

Details

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.

Value

This function does not return any value

Note

This function is part of the Bioconductor project at Dana-Farber Cancer Institute to provide Bioinformatics functionalities through R

Author(s)

Jianhua Zhang

References

http://wwww.ncbi.nlm.nih.gov/PubMed/

See Also

makePubMedGraph

Examples

if(interactive()){
    if(require("hgu95av2")){
        makePMG("hgu95av2", tempdir(), list(name = "yourName", address =
        "yourEMail"), "yourVersion")
    }else{
        stop("Data package unavailable")
    }
}

[Package Contents]