找回密码
 注册
查看: 1364|回复: 0

R语言 limma包 venn()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-2-25 23:28:54 | 显示全部楼层 |阅读模式
venn(limma)
venn()所属R语言包:limma

                                        Venn Diagrams
                                         维恩图

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

Compute classification counts or plot classification counts in a Venn diagram.
计算在维恩图分类计数或图分类计数。


用法----------Usage----------


vennCounts(x, include="both")
vennDiagram(object, include="both", names, mar=rep(1,4), cex=1.5, lwd=1,
circle.col, counts.col, show.include, ...)



参数----------Arguments----------

参数:x
numeric matrix of 0's and 1's indicating significance of a test. Usually created by decideTests.
数字矩阵的0和1的指示意义的测试。通常创建decideTests。


参数:object
either a TestResults matrix or a VennCounts object produced by vennCounts.
要么TestResults矩阵或生产VennCountsvennCounts对象。


参数:include
character string, of length one or two, specifying whether the diagram should give counts for genes up-regulated, down-regulated or both. See details. Choices are "both", "up" or "down".
字符串,长度为一个或两个指定的图是否应给予上调,下调基因或两者的罪名。查看详情。选择是"both","up"或"down"。


参数:names
optional character vector giving names for the sets or contrasts
可选的特征向量套或对比的名称


参数:mar
numeric vector of length 4 specifying the width of the margins around the plot. This argument is passed to par.
长度为4的数字矢量指定宽度的边缘周围的图。这个参数被传递到par。


参数:cex
numerical value giving the amount by which the contrast names should be scaled on the plot relative to the default.plotting text. See par.
数值给人,对比度名称应缩放相对的default.plotting文本图的金额。看到par。


参数:lwd
numerical value giving the amount by which the circles should be scaled on the plot. See par.
使圆应图缩放量的数值。看到par。


参数:circle.col
optional vector of color specifications defining the colors by which the circles should be drawn. See par.
可选的颜色规格定义颜色的各界应提请向量。看到par。


参数:counts.col
optional vector of color specifications, of same length as include, defining the colors by which the counts should be drawn. See par.
可选颜色规格的矢量长度相同,include,确定应当制定计数的颜色。看到par。


参数:show.include
logical value whether the value of include should be printed on the plot. Defaults to FALSE if include is a single value and TRUE otherwise
include价值是否应图上印的逻辑值。默认FALSE如果include是一个单一的价值和TRUE否则


参数:...
any other arguments are passed to plot
任何其他参数传递plot的


Details

详情----------Details----------

If a vennCounts object is given to vennDiagram, the include parameter is ignored. If a TestResults object is given, then it is possible to set include as a vector of 2 character strings and both will be shown.
如果vennCounts对象vennDiagram,include参数将被忽略。如果TestResults对象,那么它是可以设置include2个字符的字符串作为向量,都将被显示。


值----------Value----------

vennCounts produces a VennCounts object, which is a numeric matrix with last column "Counts" giving counts for each possible vector outcome. vennDiagram causes a plot to be produced on the current graphical device. For venDiagram, the number of columns of object should be three or fewer.
vennCounts生产VennCounts对象,这是最后一列"Counts"给每一个可能的向量结果计数的数字矩阵。 vennDiagram导致图在当前的图形设备。 venDiagram,列数object应该是三个或更少。


作者(S)----------Author(s)----------


Gordon Smyth, James Wettenhall and Francois Pepin



参见----------See Also----------

An overview of linear model functions in limma is given by 06.LinearModels.
线性模型功能概述limma由06.LinearModels给出。


举例----------Examples----------


Y <- matrix(rnorm(100*6),100,6)
Y[1:10,3:4] <- Y[1:10,3:4]+3
Y[1:20,5:6] <- Y[1:20,5:6]+3
design <- cbind(1,c(0,0,1,1,0,0),c(0,0,0,0,1,1))
fit <- eBayes(lmFit(Y,design))
results <- decideTests(fit)
a <- vennCounts(results)
print(a)
vennDiagram(a)
vennDiagram(results,include=c("up","down"),counts.col=c("red","green"))

转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-2-4 20:36 , Processed in 0.026115 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表