利用KEGG数据库进行ID转换_第1页
利用KEGG数据库进行ID转换_第2页
利用KEGG数据库进行ID转换_第3页
利用KEGG数据库进行ID转换_第4页
利用KEGG数据库进行ID转换_第5页
已阅读5页,还剩9页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

利用KEGG数据库进行ID转换clusterProfilercanconvertbiologicalIDsusingOrgDbobjectviathebitrfunction.NowIimplementedanotherfunction,bitr_keggforconvertingIDsthroughKEGGAPI.library(clusterProfiler)data(gcSample)hghead(hg)##[1]'4597''7111''5266''2175''755''23046'eg2np##Warninginbitr_kegg(hg,fromType='kegg',toType='ncbi-proteinid',##organism='hsa'):3.7%ofinputgeneIDsarefailtomap...head(eg2np)##keggncbi-proteinid##18326NP_003499##258487NP_001034707##3139081NP_619647##459272NP_068576##5993NP_001780##62676NP001487np2uphead(np2up)##ncbi-proteiniduniprot##1 NP_005457 O75586##2 NP_005792 P41567##3 NP_005792 Q6IAV3##4 NP_037536 Q13421##5 NP_006054 O60662##6 NP_001092002 O95398TheIDtype(bothfromType&toType)shouldbeoneof'kegg','ncbi-geneid','ncbi-proteinid'or'uniprot'.The'kegg'istheprimaryIDusedinKEGGdatabase.ThedatasourceofKEGGwasfromNCBI.Aruleofthumbforthe'kegg'IDisentrezgeneIDforeukaryotespeciesandLocusIDforprokaryotes.Manyprokaryotespeciesdon'thaveentrezgeneIDavailable.Forexamplewecancheckthegeneinformationofece:Z5100inhttp://www.genome.jp/dbget-bin/www_bget?ece:Z5100,whichhaveNCBI-ProteinIDandUnitProtlinksintheOtherDBsEntry,butnotNCBI-GeneID.IfwetrytoconvertZ5100toncbi-geneid,bitr_keggwillthrowerrorofncbi-geneidisnotsupported.bitr_kegg('Z5100',fromType='kegg',toType='ncbi-geneid',organism='ece')##ErrorinKEGG_convert(fromType,toType,organism):##ncbi-geneidisnotsupportedforece...Wecanofcourseconvertittoncbi-proteinidanduniprot:bitr_kegg('Z5100',fromType='kegg',toType='ncbi-proteinid',organism='ece')##keggncbi-proteinid##1Z5100 AAG58814bitr_kegg('Z5100',fromType='kegg',toType='uniprot',organism='ece')##kegguniprot##1Z5100Q7DB85search_kegg_organismclusterProfilersupportsmorethan4kspecieslistedinhttp://www.genome.jp/kegg/catalog/org_list.htmlforhypergeometrictest(enrichKEGG&enrichMKEGG)andGSEA(gseKEGG&gseMKEGG).Wecanusebitr_keggtoconvertIDforallthese4kspecies.Tofacilitatesearchingscientificnameabbreviateusedintheorganismparameterofthesefunctions,Iimplementedthesearch_kegg_organismfunction.Wecansearchbykegg_code,scientific_nameorcommon_name(whichisnotavailableforprokaryotes).search_kegg_organism('ece',by='kegg_code')##kegg_code

scientific_namecommon_name##334eceEscherichiacoliO157:H7EDL933(EHEC)ecolidim(ecoli)##[1]643head(ecoli)##kegg_codehead(ecoli)##kegg_codescientificnamecommonname##329ecoEscherichiacoliK-12##329ecoEscherichiacoliK-12MG1655##330ecjEscherichiacoliK-12##330ecjEscherichiacoliK-12W3110##331ecdEscherichiacoliK-12##331ecdEscherichiacoliK-12DH10B##332ebwEscherichiacoli##332ebwEscherichiacoliBW2952##333ecokEscherichiacoliK-12##333ecokEscherichiacoliK-12MDS42##334eceEscherichiacoliO157:H7EDL933##334(EHEC)keyTypeparameterWiththeIDconversionutilitiesbuiltinclusterProfiler,IaddaparameterkeyTypeinenrichKEGG,enrichMKEGG,gseKEGGandgseMKEGG.Nowwecan

useIDtypethatisnottheprimaryIDinKEGGdatabase.xhead(summary(x))## IDDescriptionGeneRatio##hsa04072hsa04072PhospholipaseDsignalingpathway11/133##hsa04060hsa04060Cytokine-cytokinereceptorinteraction14/133##hsa04390hsa04390pathway10/133##hsa04975hsa04975absorption5/133interaction14/133##hsa04390hsa04390pathway10/133##hsa04975hsa04975absorption5/133##hsa05221hsa05221leukemia 6/133## BgRatioqvalueHipposignalingFatdigestionandAcutemyeloidpvaluep.adjust##hsa04072216/92750.00026541900.039016590.03240905##hsa04060354/92750.00053492450.039316950.03265855##hsa04390213/92750.00095362470.041994040.03488227##hsa0497558/92750.00140148860.04199404

0.03488227##hsa0522186/92750.00142836870.041994040.03488227##genelD##hsa04072O95398/Q99777/P49619/Q6FGP0/Q8WVM9/O14807/P41594/A8K5P7/P10145/A0A024RDA5/P16234##hsa04060A0N0N3/O00574/P19876/P01589/P10145/A0A024RDA5/B4DGA4/Q99665/P16234/P78556/Q6I9S7/P42830/P27930/Q9UBN6##hsa04390Q8WW10/A8K141/Q9UI47/P35240/A0A024R1J8/Q659G9/Q9UJU2/P22003/M9VUD0/O00144##hsa04975Q9UNK4/A0A087WZT4/A0A0C4DFX6/Q9UHC9/P04054##hsa05221Q659G9/Q9UJU2/Q03181/A0A024RCW6/Q06455/B2R6I9## Count##hsa0407211

##hsa0407211##hsa0406014##hsa04390##hsa0406014##hsa0439010##hsa04975##hsa05221setReadableForGOanalysis,wehaveareadableparametertocontrolwhethertraslatingtheIDstohumanreadablegenename.ThisparameterisnotavailableforKEGGanalysis.ButwestillhavetheabilitytotranslateinputgeneIDstogenenameusingsetReadablefunctionifandonlyifcorrespondingOrgDbobjectisavailable.yhead(summary(y))##IDhead(summary(y))##IDDescriptionGeneRatio##hsa04072hsa04072PhospholipaseDsignaling##hsa04072hsa04072PhospholipaseDsignalingpathway11/133##hsa04060hsa04060Cytokine-cytokinereceptorinteraction14/133##hsa04390hsa04390Hipposignaling##hsa04390hsa04390Hipposignalingpathway10/133##hsa04975hsa04975Fatdigestionand##hsa04975hsa04975Fatdigestionandabsorption5/133##hsa05221hsa05221Acutemyeloidleukemia6/133##hsa05221hsa05221Acutemyeloidleukemia6/133##BgRatiopvaluep.adjust##BgRatiopvaluep.adjustqvalue##hsa04072216/92750.00026541900.039016590.03240905##hsa04060354/92750.00053492450.039316950.03265855##hsa04390213/92750.00095362470.041994040.03488227##hsa0497558/92750.00140148860.041994040.03488227##hsa0522186/92750.00142836870.041994040.03488227##geneID##hsa04072RAPGEF3/RAPGEF3/DGKG/MRAS/MRAS/MRAS/GRM5/GRM5/C

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论