I've used the following code to generate score using r: sc=score(Counts, + groups=subtypelist, + binmat = NULL, + bins = NULL, + controls = NULL, + bin.control = F, + center = T, + nbin = 30, + n = 100, + replace = T) Error in (function (classes, fdef, mtable) : unable to find an inherited method for function ‘score’ for signature ‘"matrix"’ class(Counts) [1] "matrix" "array"