[Bioc-sig-seq] using subseq() on a DNAStringSet
Steve Lianoglou
mailinglist.honeypot at gmail.com
Wed May 26 20:35:06 CEST 2010
Woops, small type in my example:
## assigning `<-` into a DNAString in *this* context will fail
R> subseq(x[1], 2, 3) <- NULL
Error in `[[<-`(`*tmp*`, 1, value = <S4 object of class "DNAString">) :
no method for assigning subsets of this S4 class
Should have been:
R> subseq(x[[1]], 2, 3) <- NULL
Not sure how that slipped through like that, sorry.
Btw:
sessionInfo()
R version 2.11.0 Patched (2010-05-05 r51909)
x86_64-apple-darwin9.8.0
locale:
[1] en_US.UTF-8/en_US.UTF-8/C/C/en_US.UTF-8/en_US.UTF-8
attached base packages:
[1] stats graphics grDevices datasets utils methods base
other attached packages:
[1] Biostrings_2.16.0 IRanges_1.7.1
loaded via a namespace (and not attached):
[1] Biobase_2.8.0
--
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
More information about the Bioc-sig-sequencing
mailing list