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

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

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

                                         Write genotypic calls and/or associated metrics to a netCDF file.
                                         写的基因型分型和/或一个netCDF文件的相关指标。

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

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

The function creates a shell netCDF file to which data can subsequently written.
该函数创建一个shell netCDF文件数据可以随后被写入。


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


ncdfCreate(snp.annotation, ncdf.filename, variables = "genotype",
           n.samples = 10, precision = "double",
           array.name = NULL, genome.build = NULL)



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

参数:snp.annotation
Snp annotation dataframe with columns "snpID", "chromosome", and "position".  snpID should be a unique integer vector, sorted with respect to chromosome and position.
SNP注解dataframe的与列的“snpID”,“染色体”,和“位置”。 snpID应该是一个独特的的整数向量,染色体和位置排序。


参数:ncdf.filename
The name of the genotype netCDF file to create
基因型NetCDF的名称文件创建


参数:variables
A character vector containing the names of the variables to create (must be one or more of c("genotype", "quality", "X", "Y", "rawX", "rawY", "R", "Theta", "BAlleleFreq", "LogRRatio"))
字符向量创建的变量的名称(必须有一个或更多的c("genotype", "quality", "X", "Y", "rawX", "rawY", "R", "Theta", "BAlleleFreq", "LogRRatio"))


参数:n.samples
The number of samples that will be in the netcdf file.
netCDF文件,这将是在样品的数量。


参数:precision
A character value indicating whether floating point numbers should be stored as "double" or "single" precision.
一个字符值,该值指示是否应为“双重”或“单”精确存储浮点数。


参数:array.name
Name of the array, to be stored as an attribute in the netCDF file.
数组的名称,可以存储为netCDF文件的属性。


参数:genome.build
Genome build used in determining chromosome and position, to be stored as an attribute in the netCDF file.
建立用于基因在染色体和位置确定,将存储作为一个netCDF文件的属性。


Details

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

The function creates a shell netCDF file to which data can subsequently written.
该函数创建一个shell netCDF文件数据可以随后被写入。


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



Cathy Laurie




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

ncdf, ncdfAddData, ncdfSubset
ncdf,ncdfAddData,ncdfSubset


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


library(GWASdata)
data(affy_snp_annot)
ncfile <- tempfile()
ncdfCreate(affy_snp_annot, ncfile, variables="genotype", n.samples=5)
file.remove(ncfile)

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-6 09:43 , Processed in 0.049596 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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