Re: [R] help with package ranks

2017-04-05 Thread Jim Lemon
Hi Davide, The error message is probably due to a zero length dimension in: W[,ind.positives] I would look at W (data frame?) to see where this might occur. That is, does W have a set of proteins with _no_ annotations? Perhaps manually removing that set will get the function running. Jim On We

[R] help with package ranks

2017-04-05 Thread davide f
Hello, I'm Davide. I'm using the package RANKS, in particular the functions do.GBA, do.RW, do.RANKS. To the funcs are given 2 different Matrix. One is a a simmetryc adjacency Matrix(called "M"), where rows and columns are protein, and the other is an annotation Matrix(called "ann"), where protein a