plotEnrichMap(HTSanalyzeR)
plotEnrichMap()所属R语言包:HTSanalyzeR
Plot and save an enrichment map for results of GSEA or hypergeometric tests
绘制和保存GSEA或超几何测试结果的富集图
译者:生物统计家园网 机器人LoveR
描述----------Description----------
This is a generic function.
这是一个通用的功能。
When implemented as the S4 method for objects of class GSCA, this function will plot and save an enrichment map for GSEA or Hypergeometric test results.
当为中S4中为GSCA类的对象的方法实现,这个函数将绘制并保存一个的GSEA或超几何测试结果的富集图。
To use this function for objects of class GSCA:
使用此功能的类对象GSCA:
plotEnrichMap(object, resultName="GSEA.results", gscs, ntop=NULL, allSig=TRUE, gsNameType="id", displayEdgeLabel=TRUE, layout= "layout.fruchterman.reingold", filepath=".", filename="test.png", output="png", ...)
plotEnrichMap(对象,resultName =“GSEA.results”GSCS,NTOP = NULL,allSig = TRUE,gsNameType =“身份证”,displayEdgeLabel = TRUE,布局=的“layout.fruchterman.reingold”的文件路径=“。 “文件名=”test.png“,输出=”PNG“,...)
用法----------Usage----------
plotEnrichMap(object, ...)
参数----------Arguments----------
参数:object
an object. When this function is implemented as the S4 method of class GSCA, this argument is an object of class GSCA.
一个对象。作为的S4类方法实现此功能时,GSCA,这种说法是一种类GSCA的对象。
参数:...
other arguments. (see below for the arguments supported by the method of class GSCA)
其他参数。 (见下面的类的方法GSCA支持的论据)
Details
详情----------Details----------
See help(viewEnrichMap) for more details about the enrichment map for GSEA.
参见帮助,GSEA富集图更多细节(viewEnrichMap)。
作者(S)----------Author(s)----------
Xin Wang <a href="mailto:xw264@cam.ac.uk">xw264@cam.ac.uk</a>
参见----------See Also----------
viewEnrichMap
viewEnrichMap
举例----------Examples----------
## Not run: [#无法运行:]
library(org.Dm.eg.db)
library(KEGG.db)
##load data for enrichment analyses[#加载富集分析数据。]
data("KcViab_GSCA")
##plot and save the enrichment map[#绘制和保存的丰富图]
plotEnrichMap(KcViab_GSCA, gscs=c("GO_MF"), allSig=TRUE, ntop=NULL, gsNameType="id",
displayEdgeLabel=FALSE,layout="layout.fruchterman.reingold", filepath="~",
filename="GO_MF.pdf",output="pdf", width=8, height=8)
## End(Not run)[#结束(不运行)]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|