load.mapping.table: Generate ID mapping table from input and output ID types. If...

Description Usage Arguments Value Examples

Description

Generate ID mapping table from input and output ID types. If provided a vector of input IDs (limit.to.ids argument), the function will output mapping table only containing the input IDs. Otherwise, the function will output all IDs of input and output types (restricted to a species if working on gene types and specified the "species" parameter).

Usage

1
2
load.mapping.table(output.type, input.type, species = NULL, cpd.or.gene,
  limit.to.ids = NULL, SBGNview.data.folder = "./SBGNview.tmp.data")

Arguments

output.type

A character string. Gene or compound ID type

input.type

A character string. Gene or compound ID type

species

A character string. Three letter KEGG species code.

cpd.or.gene

A character string. Either "gene" or "compound"

limit.to.ids

vector. Molecule IDs of "input.type".

SBGNview.data.folder

A character string. The path to a folder that will hold download ID mapping files and pathway information data files. The data can be reused once downloaded.

Value

A list containing the mapping table.

Examples

1
2
3
4
5
6
7
8
 data(mapped.ids)
 entrez.to.pathwayCommons = load.mapping.table(
                                input.type = "ENTREZID"
                                ,output.type = "pathwayCommons"
                                ,species = "hsa"
                                ,cpd.or.gene = "gene"
                             )
                             

chemokine/OmicsSBGN documentation built on June 27, 2019, 7:52 p.m.