Entering edit mode
3.3 years ago
ashwing.kofficial
▴
10
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'