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

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

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

                                        Accessors for variables in GenotypeData and IntensityData classes and
                                         访问器变量在GenotypeData和IntensityData类和

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

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

These generic functions provide access to variables associated with GWAS data cleaning.
这些通用功能提供GWAS的数据清理与相关变量的访问。


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


  getScanVariable(object, varname, ...)
  getScanID(object, ...)
  getSex(object, ...)
  getSnpVariable(object, varname, ...)
  getSnpID(object, ...)
  getChromosome(object, ...)
  getPosition(object, ...)
  getVariable(object, varname, ...)
  getGenotype(object, ...)
  getQuality(object, ...)
  getX(object, ...)
  getY(object, ...)
  getBAlleleFreq(object, ...)
  getLogRRatio(object, ...)
  getAnnotation(object, ...)
  getMetadata(object, ...)
  getQuery(object, statement, ...)

  hasScanAnnotation(object)
  hasScanVariable(object, varname)
  hasSex(object)
  hasSnpAnnotation(object)
  hasSnpVariable(object, varname)
  hasVariable(object, varname)
  hasQuality(object)
  hasX(object)
  hasY(object)
  hasBAlleleFreq(object)
  hasLogRRatio(object)

  nsnp(object)
  nscan(object)

  XchromCode(object)
  XYchromCode(object)
  YchromCode(object)
  MchromCode(object)

  writeAnnotation(object, value, ...)
  writeMetadata(object, value, ...)



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

参数:object
Object, possibly derived from or containing NcdfReader-class, ScanAnnotationDataFrame-class, SnpAnnotationDataFrame-class, ScanAnnotationSQLite-class, or SnpAnnotationSQLite-class.
对象,可能来自或含有NcdfReader-class,ScanAnnotationDataFrame-class,SnpAnnotationDataFrame-class,ScanAnnotationSQLite-class或SnpAnnotationSQLite-class。


参数:varname
Name of the variable (single character string, or a character vector for multiple variables).
变量(单个字符的字符串,或一个多变量的特征向量)的名称。


参数:statement
SQL statement to query ScanAnnotationSQLite-class or SnpAnnotationSQLite-class objects.
SQL语句查询ScanAnnotationSQLite-class或SnpAnnotationSQLite-class对象。


参数:value
data.frame with annotation or metadata to write to ScanAnnotationSQLite-class or SnpAnnotationSQLite-class objects.
与注释或元数据写入ScanAnnotationSQLite-class或SnpAnnotationSQLite-class对象的数据框。


参数:...
Additional arguments.
额外的参数。


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

get methods return vectors or matrices of the requested variables (with the exception of getQuery, which returns a data frame).
get方法返回请求变量的向量或矩阵(getQuery,它返回一个数据框除外)。

has methods return TRUE if the requested variable is present in object.
has方法返回true,如果请求的变量是目前在object。

nsnp and nscan return the number of SNPs and scans in the object, repectively.
nsnp和nscan返回的SNPs数量和扫描对象,repectively。

XchromCode, XYchromCode, YchromCode, and MchromCode return the integer chromosome codes associated with X, pseudoautosomal, Y, and mitochondrial SNPs.
XchromCode,XYchromCode,YchromCode,MchromCode返回整数染色体的X,拟常,y,和线粒体单核苷酸多态性相关的代码。


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


Stephanie Gogarten



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

ScanAnnotationDataFrame-class, SnpAnnotationDataFrame-class, ScanAnnotationSQLite-class, SnpAnnotationSQLite-class, NcdfReader-class, NcdfGenotypeReader-class, NcdfIntensityReader-class, GenotypeData-class, IntensityData-class
ScanAnnotationDataFrame-class,SnpAnnotationDataFrame-class,ScanAnnotationSQLite-class,SnpAnnotationSQLite-class,NcdfReader-class,NcdfGenotypeReader-class,NcdfIntensityReader-class,GenotypeData-class,IntensityData-class

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


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

使用道具 举报

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

本版积分规则

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

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

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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