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

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

[复制链接]
发表于 2012-2-25 16:49:03 | 显示全部楼层 |阅读模式
dksWeights(dualKS)
dksWeights()所属R语言包:dualKS

                                         Calculate gene weights based on average expression.
                                         计算基于平均表达的基因重。

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

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

Prior to selecting genes it may be desirable to calculate weights  for each genes so that some genes are more likely than others to be included in the gene signature all other things being equal.  This  function will calculate an N x M weight matrix for N genes in data  and M unique classes in class.  The weights are based on  mean expression of each gene in each class such that genes that are  highly expressed on average in a given class will be weighted more  highly when scoring genes for that class.
选择基因之前,它可能需要计算每一个基因的重量,使一些基因比其他人更可能被包括在所有其他的事情都是平等的基因签名。此函数将计算一个N x m重量矩阵data和Mclass独特的类N基因。权重的基础上平均每个基因在每个类等,将加权平均高度表示在给定的类基因高度时得分为该类基因表达。

The resulting weight matrix can be bassed to dksTrain as  the weights argument.
导致权重矩阵可以basseddksTrainweights参数。


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


dksWeights(eset, class)



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

参数:eset
An ExpressionSet or matrix containing the gene  expression data to be used for bootstrapping.
ExpressionSet或matrix包含的基因表达为引导程序使用的数据。


参数:class
A factor with two or more levels indicating which  class each sample in the expression set belongs OR  an integer indicating which column of pData(eset)  contains this information.
与两个或两个以上的水平,表明每个样本中的表达集属于哪一类的因素或一个整数,指示PDATA(ESET)列包含此信息。


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

An N x M matrix containing the weights for each gene and each class.
一个N x M矩阵中每个基因和每个类的权重。


注意----------Note----------

There are many metrics the user might want to use for weighting.  This  convenience function just implements one of the most obvious ones.   The user can provide his/her own N x M weight matrix to dksTrain. The weight matrix calculated by this function will be calculated on the fly  if the weights is set to TRUE when calling dksTrain.   However, it multiple calls to dksTrain are being made (for example when  performing some type of optimization or validation), it will save a lot of  time if the weight matrix is pre-calculated by a call to this function and the  resulting matrix supplied directly to dksTrain rather than having  it re-calculate the weight matrix every time.
有很多用户可能要使用加权的指标。这个方便的功能,只是实现了其中一个最明显的。用户可以提供他/她自己为N×m重量矩阵到dksTrain。由这个函数计算的权重矩阵计算上的苍蝇,如果weights设置为TRUE时调用dksTrain。然而,多个呼叫dksTrain(例如,在执行某些类型的优化或验证时),将节省大量的时间,如果权重矩阵是由这个函数的调用预先计算和由此产生的矩阵直接供应dksTrain,而不是它每次重新计算权重矩阵。


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


Eric J. Kort



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

dksTrain, dksSelectGenes, dksClassify, DKSGeneScores,  DKSPredicted,
dksTrain,dksSelectGenes,dksClassify,DKSGeneScores,DKSPredicted


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



        data("dks")
        wt <- dksWeights(eset, 1)
        str(wt)

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-11 16:11 , Processed in 0.024335 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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