Error in Robust Rank Aggregation

Error in Robust Rank Aggregation

0

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


next-gen


RNA-Seq


sequencing


R

• 13 views

Read more here: Source link