[Bioc-sig-seq] A myriad of classes

Deepayan Sarkar deepayan.sarkar at gmail.com
Mon Apr 20 23:31:26 CEST 2009


On Mon, Apr 20, 2009 at 2:15 PM,  <ig2ar-saf2 at yahoo.co.uk> wrote:
>
> Hello Deepayan,
>
> hmmm... I get
>
>> str(head(as.list(alignedLocs)))
> List of 6
>  $ 0:0:1  :List of 2
>  ..$ -: int(0)
>  ..$ +: int(0)
>  $ 0:0:10 :List of 2
>  ..$ -: int(0)
>  ..$ +: int(0)
>  $ 0:0:100:List of 2
>  ..$ -: int(0)
>  ..$ +: int(0)
>  $ 0:0:101:List of 2
>  ..$ -: int(0)
>  ..$ +: int(0)
>  $ 0:0:102:List of 2
>  ..$ -: int(0)
>  ..$ +: int(0)
>  $ 0:0:103:List of 2
>  ..$ -: int(0)
>  ..$ +: int(0)

Interesting. I don't have any experience with type="SolexaExport"
(BTW, I think you should name the argument). What about

names(alignedLocs)[ unlist( lapply(alignedLocs, function(x)
length(unlist(x)) > 0 )) ]

?

-Deepayan



More information about the Bioc-sig-sequencing mailing list