11.07.2015 Views

Package 'pathview' - Bioconductor

Package 'pathview' - Bioconductor

Package 'pathview' - Bioconductor

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

cpdidmap 5Examplesdata(cpd.accs)data(rn.list)names(rn.list)cpd.accs[rn.list[[1]][1:4],]lapply(rn.list[1:4], function(rn) cpd.accs[rn[1:4],])data(kegg.met)head(kegg.met)cpdidmapMapping between compound IDs and KEGG accessionsDescriptionUsageThese auxillary compound ID mappers connect KEGG compound/glycan/drug accessions to compoundnames/synonyms and other commonly used compound-related IDs.cpdidmap(in.ids, in.type, out.type)cpd2kegg(in.ids, in.type)cpdkegg2name(in.ids, in.type = c("KEGG", "KEGG COMPOUND accession")[1])cpdname2kegg(in.ids)Argumentsin.idsin.typeout.typecharacter, input IDs to be mapped.character, the input ID type, needs to be either "KEGG" (including compound,glycan and durg) or one of the compound-related ID types used in CHEMBLdatabase. For a full list of the CHEMBL IDs, do data(rn.list); names(rn.list).For cpdkegg2name), default in.type = "KEGG".character, the output ID type, needs to be either "KEGG" (including compound/glycan/durg)or one of the compound-related ID types used in CHEMBL database. For a fulllist of the CHEMBL IDs, do data(rn.list); names(rn.list).Detailscharacter, the output ID type, needs to be either "KEGG" or one of the compound-related ID typesused in CHEMBL database. For a full list of the CHEMBL IDs, do data(rn.list); names(rn.list).KEGG has its own compound ID system, including compound (glycan/durg) accessions. Therefore,all compound data need to be mapped to KEGG accessions when working with KEGG pathways.Function cpd2kegg does this mapping by calling cpdname2kegg or cpdidmap. On the other hand,we frequently want to check or show compound full names or other commonly used IDs insteadof the less informative KEGG accessions when working with KEGG compound nodes, Functionscpdkegg2name and cpdidmap do this reverse mapping. These functions are written as part of the

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!