From hpages at fhcrc.org  Fri Jun 28 01:28:10 2013
From: hpages at fhcrc.org (=?ISO-8859-1?Q?Herv=E9_Pag=E8s?=)
Date: Thu, 27 Jun 2013 16:28:10 -0700
Subject: [Rd] Error on executing functions from installed package
In-Reply-To: <CACof4rpY2zFd1W4B1vzTzH8AuNaSHbSCg+rPcg8TJyycbNzb2g@mail.gmail.com>
References: <CACof4roPo5B9mjw27UswJEuaj1ohrUHSzd7Yc8XXLa9dDf8TwA@mail.gmail.com>
	<51CAE343.4000102@stats.ox.ac.uk>
	<CACof4rqqCB9DJa7wjBR8w6JB_ruq0cY+NRK_seAcJa+MCJ10kA@mail.gmail.com>
	<CACof4rpY2zFd1W4B1vzTzH8AuNaSHbSCg+rPcg8TJyycbNzb2g@mail.gmail.com>
Message-ID: <51CCCA8A.3010007@fhcrc.org>

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



[Rd] Error on executing functions from installed package
=?ISO-8859-1?Q?Herv=E9_Pag=E8s?=