Displaying 1 result from an estimated 1 matches for "chrcomb".
2013 Jun 26
2
Error on executing functions from installed package
...r, GenoRanges = GenoRanges,
Sample = Sample)
> class(clRes)
[1] "list"
> clRes
[[1]]
S4 Object of class GElist; 14 features
start : 14350 69251 84185 116264 153924
end : 18349 73250 88184 120263 157923
chr : chr20 chr20 chr20 chr20 chr20
strand : * * * * *
binscore : NA
> chrcomb <- sapply(result, function(x) rbind(x))
Error in rbind(x) : no method for coercing this S4 class to a vector
The above code is part of a function. If I run this code interactively or
by sourcing the script it runs fine. However, when I execute the function
from the installed package it gives me...