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

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

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

                                        Random selection of SNPs
                                         随机选择的SNPs

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

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

Randomly selects SNPs for which each pair is at least as far apart as the specified basepair distance.
随机选择的SNPs为每对至少为指定的碱基距离相距甚远。


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


apartSnpSelection(chromosome, position, min.dist = 1e+05,
                  init.sel = NULL,  max.n.chromosomes = -1,
                  verbose = TRUE)



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

参数:chromosome
An integer vector containing the chromosome for each SNP.  Valid values are 1-26, any other value will be interpreted as missing and not selected.  
每个SNP的染色体含有一个整数向量。有效的值是1-26,任何其他值将被解释为失踪和未选中。


参数:position
A numeric vector of the positions (in basepairs) of the SNPs.  
一个数字的位置矢量(碱基对)的SNP。


参数:min.dist
A numeric value to specify minimum distance required (in basepairs).  
一个数值来指定所需的最小距离(碱基对)。


参数:init.sel
A logical vector indicating the initial SNPs to be included.  
要包括一个逻辑向量,说明最初的单核苷酸多态性。


参数:max.n.chromosomes
A numeric value specifying the maximum number of SNPs to return per chromosome, "-1" means no number limit.  
指定的最大数量的SNPs返回每个染色体的数值,“-1”表示没有数量限制。


参数:verbose
A logical value specifying whether to show progress information while running.  
一个逻辑值,指定是否在运行时显示进度信息。


Details

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

apartSnpSelection selects SNPs randomly with the condition that they are at least as far apart as min.dist in basepairs.  The starting set of SNPs can be specified with init.sel.
apartSnpSelection随机选择的条件,至少相距甚远,他们是作为min.dist在碱基的SNPs。可以指定用init.sel的SNPs集。


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

A logical vector indicating which SNPs were selected.
逻辑向量表示SNPs被选中。


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


Xiuwen Zheng




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


library(GWASdata)
data(affy_snp_annot)
pool <- affy_snp_annot$chromosome < 23
rsnp <- apartSnpSelection(affy_snp_annot$chromosome, affy_snp_annot$position,
                          min.dist=15000, init.sel=pool)

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-6 13:19 , Processed in 0.021336 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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