Error in Robust Rank Aggregation
0
0
Entering edit mode
2.7 years ago

Hey guys, I was trying to merge my gene lists together using R, I had it as two datasets with 2 variables and when I created a list, Unfortunately when I'm aggregating. I am getting a error. Where am I going wrong and how to rectify it. This is the code. Both the datasets have the same headers.

glist <- list(sample(x,), sample(y,))

aggregateRanks(glist = glist, N = length(x))

Error in `[<-`(`*tmp*`, glist[[i]], i, value = (1:length(glist[[i]]))/N[i]) : 
  invalid subscript type 'list'

This is how one of the dataset looks

RNA-Seq R next-gen-sequencing • 443 views
ADD COMMENT

Login before adding your answer.

Traffic: 1882 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6