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

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

[复制链接]
发表于 2012-2-25 14:49:10 | 显示全部楼层 |阅读模式
makeVennDiagram(ChIPpeakAnno)
makeVennDiagram()所属R语言包:ChIPpeakAnno

                                         Make Venn Diagram from two peak ranges
                                         从两个峰值范围的维恩图

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

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

Make Venn Diagram from two peak ranges and also calculate p-value for determining whether two peak ranges overlap significantly.
从两个峰值范围维恩图,并计算p值,为确定是否两个峰值范围重叠明显。


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


makeVennDiagram(Peaks, NameOfPeaks, maxgap=0, totalTest, cex = 1.5,
counts.col = "red", useFeature=FALSE)



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

参数:Peaks
RangedDataList: See example below.  
RangedDataList:参见下面的例子。


参数:NameOfPeaks
Character vector to specify the name of Peaks, e.g., c("TF1", "TF2"), this will be used as label in the Venn Diagram.  
特征向量指定峰的名称,例如,c(“TF1电视台”,“位TF2”),这将被用来作为标签的维恩图。


参数:maxgap
Non-negative integer. Intervals with a separation of maxgap or less are considered to be overlapping.  
非负整数。考虑重叠分离的maxgap或更少的时间间隔。


参数:totalTest
Numeric value to specify the total number of tests performed to obtain the list of peaks. It should be much larger than the number of peaks in the largest peak set.  
指定进行测试,获得峰列表总数的数值。它应该比最大峰值集数峰大。


参数: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文本图的金额。看到看齐。


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


参数:useFeature
TRUE or FALSE, default FALSE, true means using feature field in the RangedData for calculating overlap, false means using chromosome range for calculating overlap.  
TRUE或FALSE,默认为FALSE,在RangedData使用功能重叠,使用虚假手段计算重叠的染色体范围计算领域真正手段。


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

In addition to a Venn Diagram produced, p.value is obtained from hypergeometric test for determining whether the two peak ranges or fetures overlap significantly.
在另外一个维恩图制作,p.value获得超几何测试决定是否两个峰值范围或叉状重叠显著。


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



Lihua Julie Zhu




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

findOverlappingPeaks
findOverlappingPeaks


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


if (interactive())
{
peaks1 = RangedData(IRanges(start = c(967654, 2010897, 2496704),
         end = c(967754, 2010997, 2496804), names = c("Site1", "Site2", "Site3")),
         space = c("1", "2", "3"), strand=as.integer(1),feature=c("a","b","f"))
peaks2 = RangedData(IRanges(start = c(967659, 2010898,2496700,3075866,3123260),
        end = c(967869, 2011108, 2496920, 3076166, 3123470),
        names = c("t1", "t2", "t3", "t4", "t5")),
        space = c("1", "2", "3", "1", "2"), strand = c(1, 1, -1,-1,1), feature=c("a","b","c","d","a"))
makeVennDiagram(RangedDataList(peaks1,peaks2), NameOfPeaks=c("TF1", "TF2"),
totalTest=100)

makeVennDiagram(RangedDataList(peaks1,peaks2), NameOfPeaks=c("TF1", "TF2"),
  totalTest=100,useFeature=FALSE)

###### 4-way diagram using annotated feature instead of chromosome ranges[#####4路图,使用带注释的功能,而不是染色体范围]

        makeVennDiagram(RangedDataList(peaks1,peaks2, peaks1, peaks2), NameOfPeaks=c("TF1", "TF2","TF1", "TF2"),
  totalTest=100,useFeature=TRUE)
}

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-5-14 06:25 , Processed in 0.023909 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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