On Fri, Jan 7, 2011 at 6:40 AM, Ivan Gregoretti <[email protected]> wrote:

> Hello Steve,
>
> I tried your suggestion but I get:
>
> stack(RangedDataList(LargeListOfSmallRangedData), indName='space')
> Error in `[[<-`(`*tmp*`, indName, value = c(1L, 1L, 1L, 1L, 1L, 2L, 2L,  :
>  cannot replace "space" information
>
> I have the latest R dev and BioC dev packages. So, I will settle for
> do.call. Thank you for the suggestion.
>
>
Hi Ivan,

In your case, it's probably best to use unlist() on the RangedDataList,
since each element is coming from a separate space.

Michael


> Ivan
>
>
>
>
>
> On Thu, Jan 6, 2011 at 11:47 AM, Steve Lianoglou
> <[email protected]> wrote:
> > Hi,
> >
> > On Thu, Jan 6, 2011 at 11:21 AM, Ivan Gregoretti <[email protected]>
> wrote:
> >> I assumed that RangedDataList was the same as "list of RangedData".
> >>
> >> at the moment I can't coerce one into the other:
> >>
> >> as(LargeListOfSmallRangedData,'RangedDataList')
> >> Error in as(LargeListOfSmallRangedData, "RangedDataList") :
> >>  no method or default for coercing "list" to "RangedDataList"
> >
> > Try:
> >
> > R> rdl <- RangedDataList(LargeListOfSmallRangedData)
> >
> > -steve
> >
> > --
> > Steve Lianoglou
> > Graduate Student: Computational Systems Biology
> >  | Memorial Sloan-Kettering Cancer Center
> >  | Weill Medical College of Cornell University
> > Contact Info: 
> > http://cbio.mskcc.org/~lianos/contact<http://cbio.mskcc.org/%7Elianos/contact>
> >
>

        [[alternative HTML version deleted]]

_______________________________________________
Bioc-sig-sequencing mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/bioc-sig-sequencing

Reply via email to