Few more details:

clRes object is essentially a list of SummarizedExperiment class object (of
GenomicRanges package). Each object is of single chromosome since it is
generated by parallelization. I am trying to combine all these object into
a single SummarizedExperiment Object. Since we can combine
SummarizedExperiment objects rowwise by using "rbind", I am combing it
through the function below

> chrcomb <- sapply(clRes, function(x) rbind(x))
Error in rbind(x) : no method for coercing this S4 class to a vector

Thanks,
Kamal


On Wed, Jun 26, 2013 at 4:29 PM, Kamal <kamal.fartiya...@gmail.com> wrote:

> Prof Brian,
>
> Thanks for the reply. My mistake its "clRes" in place of "result"
>
> > chrcomb <- sapply(clRes, function(x) rbind(x))
>
> Error in rbind(x) : no method for coercing this S4 class to a vector
>
> I think what you mentioned about the package forgetting to import an S4
> generic for rbind seems the logical explanation of this problem.
>
> Thanks,
> Kamal
>

        [[alternative HTML version deleted]]

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to