GetStabilityDistance(GeneSelector)
GetStabilityDistance()所属R语言包:GeneSelector
Stability measures for gene rankings
基因排名的稳定措施
译者:生物统计家园网 机器人LoveR
描述----------Description----------
The similarity of two rankings is assessed by computing a weighted distance measure. This function implements weighted absolute- and squared distance, a weighted versions of Spearman's rank correlation coefficient and Kendall's tau. Note that Spearman's rank correlation coefficient is not a distance measure in the classical sense, but can be obtained as transformation of the squared distance.
两个排名的相似性进行评估计算加权距离措施。此功能实现绝对和距离平方加权,Spearman秩相关系数和Kendall的tau蛋白的加权版本。请注意,Spearman秩相关系数是没有距离的措施,在传统意义上的,但可以作为距离平方改造获得。
用法----------Usage----------
GetStabilityDistance(RR, scheme = c("original", "pairwise"), measure = c("l1", "l2", "spearman", "kendall"),
decay = c("linear", "quadratic", "exponential"), alpha = 1, ...)
参数----------Arguments----------
参数:RR
An object of class RepeatedRanking
一个对象的类RepeatedRanking
参数:scheme
If scheme = "original", a reference ranking is compared with alternative rankings. If scheme = "pairwise", all possible pairs of rankings are compared. The latter is normally used in the absence of a reference ranking, e.g. if the agreement of different ranking procedures is of interest.
如果scheme = "original",参考排名是比较另类排名。如果scheme = "pairwise",对所有可能的排名进行了比较。后者通常用来在参考排名的情况下,如如果协议是不同的排名程序的兴趣。
参数:measure
The measure to be used. measure = "l1" computes a weighted absolute distance, measure = "l2" a weighted squared distance. measure = "spearman" computes a weighted version of Spearman's rank correlation coefficient. measure = "kendall" computes a weighted version of Kendall's tau. Note that, unlike in the function cor in R base, Kendall's tau ranges from 0 to 1, and not from -1 to 1, which is the case when measure = "spearman". Absolute- and squared distance are suitably normalized to fall into the unit interval for the sake of better interpretability, with zero corresponding to maximal instability.
要使用的措施。 measure = "l1"计算加权的绝对距离,measure = "l2"加权距离平方。 measure = "spearman"计算Spearman秩相关系数的加权版本。 measure = "kendall"计算Kendall的tau蛋白的加权版本。需要注意的是,不像在功能corR base,肯德尔的头范围从01,而不是从-11是哪种情况,当measure = "spearman"。绝对和距离平方适当标准化陷入为了更好的解释性的单位间隔为零,相应的最大不稳定。
参数:decay
Argument controlling the weight decay of the weights of the summands contributing to the stability measure. If decay="linear", then we have weight 1/r for rank r, if decay="quadratic", then the weight is 1/r^2 and if decay="exponential", then the weight is exp(-alpha*r) where alpha is a tuning parameter, specified via the argument alpha.
控制参数的稳定措施的加数的权重衰变。如果decay="linear",然后我们重1/r级r如果decay="quadratic",然后重1/r^2如果decay="exponential",然后重量是exp(-alpha*r)alpha是一个调整参数,通过参数alpha指定。
参数:alpha
s. decay.
第decay。
参数:...
Currently unused argument.
目前未使用的参数。
值----------Value----------
An object of class StabilityDistance
一个类StabilityDistance对象
作者(S)----------Author(s)----------
Martin Slawski <br>
Anne-Laure Boulesteix
参考文献----------References----------
Algebraic stability indicators for ranked lists in molecular profiling. Bioinformatics 24, 258-264
Combining results of microarray experiments: a rank aggregation approach. Statistical Applications in Genetics and
参见----------See Also----------
RepeatRanking
RepeatRanking
举例----------Examples----------
## Load toy gene expression data[#加载玩具基因表达数据]
data(toydata)
### class labels[##类的标签]
yy <- toydata[1,]
### gene expression[##基因表达]
xx <- toydata[-1,]
### get ranking [#获得排名]
ordT <- RankingTstat(xx, yy, type="unpaired")
### Generate Leave-One-Out[#生成留出]
loo <- GenerateFoldMatrix(y = yy, k=1)
### Repeat Ranking with t-statistic[#重复t-统计排名]
loor_ordT <- RepeatRanking(ordT, loo)
### assess stability[#评估稳定]
stab_dis_ordT <- GetStabilityDistance(loor_ordT, scheme = "original", measure = "spearman", decay="linear")
### for a short summary[#一个简短的摘要]
summary(stab_dis_ordT, display = "all")
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|