zoukankan      html  css  js  c++  java
  • clusterProfiler包

    1)enrichGO:(GO富集分析)

    描述:GO Enrichment Analysis of a gene set. Given a vector of genes, this function will return the enrichment GO categories after FDR control

    语法:
    enrichGO(gene, OrgDb, keyType = "ENTREZID", ont = "MF",pvalueCutoff = 0.05, pAdjustMethod = "BH", universe, qvalueCutoff = 0.2,
    minGSSize = 10, maxGSSize = 500, readable = FALSE, pool = FALSE)

    参数介绍:
    gene:a vector of entrez gene id.
    OrgDb:OrgDb
    keyType:keytype of input gene
    ont:One of "MF", "BP", and "CC" subontologies.
    pvalueCutoff:Cutoff value of pvalue.
    pAdjustMethod:one of "holm", "hochberg", "hommel", "bonferroni", "BH", "BY", "fdr", "none"
    universe:background genes
    qvalueCutoff:qvalue cutoff
    minGSSize:minimal size of genes annotated by Ontology term for testing.
    maxGSSize:maximal size of genes annotated for testing
    readable:whether mapping gene ID to gene Name
    pool:If ont=’ALL’, whether pool 3 GO sub-ontologies
    举例:

    data(geneList, package = "DOSE")
    de <- names(geneList)[1:100]
    yy <- enrichGO(de, 'org.Hs.eg.db', ont="BP", pvalueCutoff=0.01)
    head(yy)
    

     

    2)KEGG Enrichment(KEGG富集分析)

    描述:Analysis of a gene set. Given a vector of genes, this function will return the enrichment KEGG categories with FDR control.
    语法:
    enrichKEGG(gene, organism = "hsa", keyType = "kegg", pvalueCutoff = 0.05,
               pAdjustMethod = "BH", universe, minGSSize = 10, maxGSSize = 500,
               qvalueCutoff = 0.2, use_internal_data = FALSE)

    参数:

    gene:a vector of entrez gene id.
    organism:supported organism listed in ’http://www.genome.jp/kegg/catalog/org_list.html’
    keyType:one of "kegg", ’ncbi-geneid’, ’ncib-proteinid’ and ’uniprot’
    pvalueCutoff:Cutoff value of pvalue.
    pAdjustMethod:one of "holm", "hochberg", "hommel", "bonferroni", "BH", "BY", "fdr", "none"
    universe:background genes
    minGSSize:minimal size of genes annotated by Ontology term for testing.
    maxGSSize:maximal size of genes annotated for testing
    qvalueCutoff:qvalue cutoff
    use_internal_data
    logical:use KEGG.db or latest online KEGG data
    举例:

    data(geneList, package='DOSE')
    de <- names(geneList)[1:100]
    yy <- enrichKEGG(de, pvalueCutoff=0.01)
    head(yy)
    

     

     

     

  • 相关阅读:
    在loader程序中涉及到的CPU模式切换
    python 线程池的实现
    Python 面向对象程序设计
    Haskell语言学习笔记(28)Data.Map
    C++17尝鲜:在 if 和 switch 语句中进行初始化
    趣味编程:24点(Haskell版)
    Haskell语言学习笔记(27)Endo, Dual, Foldable
    Haskell语言学习笔记(26)Identity, IdentityT
    Haskell语言学习笔记(25)MonadState, State, StateT
    Haskell语言学习笔记(24)MonadWriter, Writer, WriterT
  • 原文地址:https://www.cnblogs.com/djx571/p/9638880.html
Copyright © 2011-2022 走看看