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

R语言 chopsticks包 epsout.ld.snp()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-2-25 14:58:05 | 显示全部楼层 |阅读模式
epsout.ld.snp(chopsticks)
epsout.ld.snp()所属R语言包:chopsticks

                                         Function to write an eps file directly to visualize LD
                                         函数写一个EPS文件直接可视化劳工处

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

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

epsout.ld.snp takes an object of snp.matrix class and a given snp range and depth, draw a eps file to visualize the LD in the same color scheme as haploview's default view. It was the first prototype of this bunch of software. Also, it does not keep any pair-wise data in memory at all, and maybe more suitable where the actual pair-wise LD data is not needed.  
epsout.ld.snpsnp.matrix类和一个特定的SNP的范围和深度,画一个EPS文件在相同的配色方案作为haploview默认视图可视化的LD对象。这是一堆这种软件的第一个原型。此外,它没有任何成对的数据保存在内存中,所有可能更适合实际成对LD数据不需要。


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


epsout.ld.snp(snpdata, filename, start, end, depth, do.notes=FALSE)



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

参数:snpdata
An object of snp.matrix class with M samples of N snps
一个snp.matrixM样点的N个SNPs类的对象


参数:filename
The file name of the output, preferably ending with ".eps", but this rule not enforced
输出文件的名称,最好用“易办事”的结束,但是这个规则不强制


参数:start
The index of the start of the range of interest. Should be between 1 and (N-1)
该指数的利益范围内开始。应该是介于1和(N-1个)


参数:end
The index of the end of the range of interest. Should be between 2 and N.
指数利益的范围。应该是2和N之间


参数:depth
The depth or lag of pair-wise calculation. Should be between 1 and N-1
成对计算的深度或滞后。应介于1和N-1


参数:do.notes
Boolean for whether to generate pdf annotation-related code
布尔为是否生成PDF的注释相关的代码


Details

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

The functinality of this routine has since been split into a two-stage processes involving ld.snp which generates a snp.dprime object which contains the result of the pairwise LD calculation, and plot.snp.dprime (or the plot method of a snp.dprime object) which does the drawing.
这个例程functinality以来被分成两个阶段涉及流程ld.snp生成snp.dprime对象,其中包含的成对LD计算的结果,和plot.snp.dprime(或 plotsnp.dprime对象的方法)绘图。


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

return nothing
返回任何结果


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


Hin-Tak Leung <a href="mailto:htl10@users.sourceforge.net">htl10@users.sourceforge.net</a>



参考文献----------References----------

whole-genome association studies.  Human Heredity 64:45-51.<br> GSL (GNU Scientific Library) http://www.gnu.org/software/gsl/<br> The postscript language reference manual:  http://www.adobe.com/products/postscript/pdfs/PLRM.pdf<br> The pdf specification: http://partners.adobe.com/public/developer/en/pdf/PDFReference16.pdf

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

snp.dprime-class, ld.snp,
snp.dprime-class,ld.snp


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


#[]
data(testdata)
epsout.ld.snp(Autosomes, start=1, end=500, depth=50, filename="test.eps")

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-5-14 12:09 , Processed in 0.023011 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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