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

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

[复制链接]
发表于 2012-2-25 19:51:10 | 显示全部楼层 |阅读模式
transScores(GGtools)
transScores()所属R语言包:GGtools

                                         obtain the top trans associations for each SNP in an smlSet
                                         每个SNP反协会在smlSet获得

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

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

obtain the top trans associations for each SNP in an smlSet
每个SNP反协会在smlSet获得


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


transScores(smpack, snpchr = "chr1", rhs, K = 20, targdirpref = "tsco", geneApply = lapply,
  chrnames = paste("chr", as.character(1:22), sep = ""), geneRanges = NULL, snpRanges = NULL,
  radius = 2e+06, renameChrs = NULL, probesToKeep = NULL, batchsize = 200, genegran = 50, shortfac = 10, wrapperEndo = NULL)

mtransScores (smpackvec, snpchr = "chr1", rhslist, K = 20, targdirpref = "multtsco",
    geneApply = lapply, chrnames = paste("chr", as.character(1:22), sep=""),
    geneRanges = NULL, snpRanges = NULL, radius = 2e+06, renameChrs=NULL,
    batchsize=200, genegran=50, probesToKeep=NULL, shortfac=10, wrapperEndo=NULL)




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

参数:smpack
name of package holding eset.rda providing 'ex' ExpressionSet when loaded, and holding SnpMatrix instances in inst/parts  
包控股eset.rda提供“前”ExpressionSet加载时,INST /零件SnpMatrix实例名称


参数:smpackvec
vector of names of package holding eset.rda providing 'ex' ExpressionSet when loaded, and holding SnpMatrix instances in inst/parts  
向量控股eset.rda包名称为“前”ExpressionSet加载时,INST /零件SnpMatrix实例的


参数:snpchr
name or vector of chromosome names of SNPs of interest  
向量的染色体利益的SNPs名称或名称


参数:rhs
right hand side of snp.rhs.tests model for which expression is left hand side, e.g., covariates other than genotype  
模型的表达snp.rhs.tests右侧左侧,例如,协变量比基因型


参数:rhslist
list of right hand side of snp.rhs.tests model for which expression is left hand side, e.g., covariates other than genotype, one per element of smpackvec  
模型的表达snp.rhs.tests右侧的列表左侧,例如,协变量其他超过基因型,每一个元素smpackvec


参数:K
number of most highly associated features to be retained  
要保留功能最高度相关的数


参数:targdirpref
prefix of target folder name (passed to eqtlTests  
前缀的目标文件夹的名称(传递eqtlTests的


参数:geneApply
passed to eqtlTests  
传递eqtlTests的


参数:chrnames
names of chromosomes harboring genes that will be tested for association with genotype  
窝藏将用于测试与基因型的基因染色体的名字


参数:geneRanges
list of GRanges-class instances containing chromosomal coordinate defined regions occupied by genes, with regions partitioned by chromosomes, and list element names as given in chrnames above  
GRanges-class以上chrnames包含由染色体由基因染色体协调定义占领的区域,划分区域的实例,列表中的元素名称列表


参数:snpRanges
list of GRanges-class instances with SNP addresses  
GRanges-class实例与SNP地址列表


参数:radius
radius within which an association is considered cis and therefore the corresponding test statistic is set to zero  
半径内,协会被认为是独联体,因此,相应的检验统计量设置为零


参数:renameChrs
passed to getSS  
传递getSS的


参数:probesToKeep
passed to getSS  
传递getSS的


参数:batchsize
defines batch size for ffrowapply  
定义为ffrowapply批量大小


参数:genegran
passed to eqtlTests  
传递eqtlTests的


参数:shortfac
passed to eqtlTests  
传递eqtlTests的


参数:wrapperEndo
a function accepting and returning an smlSet instance  
一个函数接受和返回smlSet实例


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

a list with elements
一个元素的列表


参数:scores
an S by K ff matrix where S is number of SNPs, K is number of best features to be retained, with element s,k the kth largest score statistic among association tests computed for SNP s
杀敌矩阵S是单核苷酸多态性的数量,S,K是最好要保留功能,元素S,k为第k个最大之间关联的SNP小号计算测试得分统计


参数:inds
an S by K ff matrix with s,k element telling which element of guniv (see below) is the gene giving the kth largest score statistic for association
杀敌矩阵,S,K元素,告诉元素guniv(见下文)的基因,使第k个最大的协会得分统计小号


参数:guniv
the vector of gene identifiers defining the universe of genes tested
基因标识的向量,基因测试确定宇宙


参数:snpnames
vector of SNP identifiers
向量的SNP标识符


参数:call
the call used to create the result
用于创建结果的呼叫


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



VJ Carey <stvjc@channing.harvard.edu>




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


## Not run: [#无法运行:]
library(GGdata)
# need to define the geneRanges and snpRanges ...[需要定义的geneRanges和snpRanges ...]
transScores("GGdata", "20", renameChrs="chr20", chrnames="chr21")

## End(Not run)[#结束(不运行)]

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-7 01:42 , Processed in 0.024241 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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