[Rd] Error on executing functions from installed package

Hervé Pagès hpages at fhcrc.org
Fri Jun 28 01:28:10 CEST 2013


Hi Kamal,

Sounds like a Bioconductor question. Would be better to ask on the
Bioc-devel mailing list. See you there.

Cheers,
H.


On 06/26/2013 07:37 AM, Kamal wrote:
> 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.fartiyal84 at 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 at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>

-- 
Hervé Pagès

Program in Computational Biology
Division of Public Health Sciences
Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N, M1-B514
P.O. Box 19024
Seattle, WA 98109-1024

E-mail: hpages at fhcrc.org
Phone:  (206) 667-5791
Fax:    (206) 667-1319



More information about the R-devel mailing list