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

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

[复制链接]
发表于 2012-9-30 11:10:04 | 显示全部楼层 |阅读模式
sortSNPs(SNPassoc)
sortSNPs()所属R语言包:SNPassoc

                                        Sort a vector of SNPs by genomic position
                                         排序向量的SNP位点的基因组位置

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

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

This function sorts a vector with the position of SNPs in a data frame using another data frame which contains information about SNPs, their  chromosome, and their genomic position
此功能排序向量的位置在一个数据框使用其他的数据框包含的信息SNP位点,其染色体的单核苷酸多态性,它们的基因组位置


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


sortSNPs(data, colSNPs, info)



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

参数:data
a required data frame with the SNPs
所需的数据框的单核苷酸多态性


参数:colSNPs
a required vector indicating which columns of 'data' contains genotype data
所需的矢量的“数据”列中包含的基因型数据


参数:info
a required data frame with genomic information for the SNPs (chromosome and position). The first column must have the SNPs, the second one the chromosome and the third one the genomic  position.
一个基因组的单核苷酸多态性信息(染色体和位置)所需的数据框。第一列必须具有的SNP,第二个染色体和第三个的基因组位置。


Details

详细信息----------Details----------

First of all, the function obtains a vector with the SNPs sorted using the data frame with the genomic  positions (see 'dataSNPs.pos' argument). Then, the columns which indicate where the information about the  genotypes is in our data frame, are sorted using this vector.
首先,该函数获得一个向量,其单核苷酸多态性的基因组位置(见“dataSNPs.pos”的说法)中使用的数据框排序。然后,列表示基因型有关下列内容的信息是在我们的数据框,使用此向量排序。

This information is useful when WGassociation function is called since it  allow the user to summaryze the results with the SNPs sorted by genomic position
此信息是有用的,当WGassociation函数被调用,因为它允许用户summaryze结果与单核苷酸多态性的基因组位置排序


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

a vector indicating the colums where the SNPs are recorded in our data frame ('data' argument), sorted using the genomic positions listed in 'dataSNPs.pos' argument)  
的向量表示colums的SNP位点都记录在我们的数据框(“数据”的说法),排序的基因组列出的位置“dataSNPs.pos”的说法)


实例----------Examples----------


#[]
# data(SNPs)[数据(单核苷酸多态性)]
# data(SNPs.info.pos)[数据(SNPs.info.pos)]
# colSNPs.order&lt;-sortSNPs(SNPs,c(6:40),SNPs.info.pos)[colSNPs.order的<sortSNPs(单核苷酸多态性,C(6:40)SNPs.info.pos的)]
#[]

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-8 02:43 , Processed in 0.031994 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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