Entering edit mode
3.0 years ago
sadaf
▴
20
I have a list of genes that I want to rank them based on two other features(P&Z column) using robust rank aggregation, see below:
my_dataTable:
gene_name P Z
x 6.3 0.08
y 5.6 0.009
z 3.4 0.04
w 2.6 0.0085
In aggregate()
method we can assign other columns to the genes, e.g. aggregate(gene_name~P+Z, my_dataTable , median)
, but how can I do the same in robust rank aggregation method?
could anyone help me with this?
Thanks. I'm gonna give it a try