楼主: 淼鑫324
7227 1

[问答] 求助R软件 RobustRankAggreg算法 [推广有奖]

  • 0关注
  • 0粉丝

学前班

80%

还不是VIP/贵宾

-

威望
0
论坛币
0 个
通用积分
0
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
20 点
帖子
1
精华
0
在线时间
4 小时
注册时间
2013-2-2
最后登录
2014-5-23

相似文件 换一批

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
本人非统计专业,根据文献报道,对如图数据,求出P值。
根据统计学知识,一般不可能。但是根据文献报道,运用RobustRankAggreg算法,可以实现。
本人看不懂,也模拟不出结果,现贴出官方帮助文件:
Aggregate ranked lists...DescriptionAggregate ranked lists
UsageaggregateRanks(glist, rmat=rankMatrix(glist, N, full = full), N=NA, method="RRA", full=FALSE,    topCutoff=NA)Arguments
glistlist of element vectors, the order of the vectors is used as the ranking.
rmatthe rankings in matrix format. The glist is by default converted to this format.
Nthe number of ranked elements, important when using only top-k ranks, by default it is calculated as the number of unique elements in the input.
methodrank aggregation method, by defaylt 'RRA', other options are 'min', 'geom.mean', 'mean', 'median' and 'stuart'
fullindicates if the full rankings are given, used if the the sets of ranked elements do not match perfectly
topCutoffa vector of cutoff values used to limit the number of elements in the input lists elements do not match perfectly
DetailsAll the methods implemented in this function make an assumtion that the number of ranked items is known. This assumption is satisfied for example in the case of gene lists (number of all genes known to certain extent), but not when aggregating results from google searches (there are too many web pages). This parameter N can be set manually and has strong influence on the end result. The p-values from RRA algorithm can be trusted only if N is close to the real value.
The rankings can be either full or partial. Tests with the RRA algorithm show that one does not lose too much information if only top-k rankings are used. The missing values are assumed to be equal to maximal value and that way taken into account appropriately.
The function can handle also the case when elements of the different rankings do not overlap perfectly. For example if we combine resutls from different microarray platforms with varying coverage. In this case these structurally missing values are substituted with NA-s and handled differently than omitted parts of the rankings. The function accepts as an input either list of rankings or rank matrix based on them. It converts the list to rank matrix automatically using the function rankMatrix. For most cases the ranking list is more convenient. Only in complicated cases, for example with top-k lists and structural missing values one would like to construct the rank matrix manually.
When the number of top elements included into input is specified in advance, for example some lists are limited to 100 elements, and the lengths of these lists differ significantly, we can use more sensitive and accurate algorithm for the score calculation. Then one has to specify in the input also the parameter topCutoff, which is a vector defining an cutoff value for each input list. For example if we have three lists of 1000 elements but first is limited to 100, second 200 and third to 900 elements, then the topCutoff parameter should be c(0.1, 0.2, 0.9).
ValueReturns a two column dataframe with the element names and associated scores or p-values.
Author(s)Raivo Kolde <rkolde@gmail.com>
ReferencesKolde et al "Robust Rank Aggregation for gene list integration and meta-analysis" (in preparation)
Examples# Make sample input dataglist <- list(sample(letters, 4), sample(letters, 10), sample(letters, 12))# Aggregate the inputsaggregateRanks(glist = glist, N = length(letters))aggregateRanks(glist = glist, N = length(letters), method = "stuart")# Since we know the cutoffs for the lists in advance (4, 10, 12) we can use# the more accurate algorithm with parameter topCutoff# Use the rank matrix instead of the gene lists as the inputr = rankMatrix(glist)aggregateRanks(rmat = r)# Example, when the input lists represent full rankings but the domains do not match glist <- list(sample(letters[4:24]), sample(letters[2:22]), sample(letters[1:20]))r = rankMatrix(glist, full = TRUE) head(r)aggregateRanks(rmat = r, method = "RRA")# Dataset representing significantly changed genes after knockouts # of cell cycle specific trancription factorsdata(cellCycleKO)r = rankMatrix(cellCycleKO$gl, N = cellCycleKO$N)ar = aggregateRanks(rmat = r)head(ar)
希望有好心人帮忙,我模拟到,帮助文件中例子“N=?”,就出现“下标出界”先谢谢了。

二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

关键词:robust USTR bust Rank GRE 软件

未命名.jpg (14.92 KB)

未命名.jpg

沙发
452618057 发表于 2013-4-17 10:39:55 |只看作者 |坛友微信交流群
楼主好,我也想学这个包,请问楼主有啥进展么

使用道具

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

本版微信群
加好友,备注cda
拉您进交流群

京ICP备16021002-2号 京B2-20170662号 京公网安备 11010802022788号 论坛法律顾问:王进律师 知识产权保护声明   免责及隐私声明

GMT+8, 2024-6-14 18:46