[Bioc-sig-seq] how to subset reads or seqs
Hervé Pagès
hpages at fhcrc.org
Thu Sep 22 09:28:08 CEST 2011
Hi shangao,
On 11-09-19 11:54 AM, wang peter wrote:
> so if
> cannot subset a DNAStringSet object by names
> maybe i can just use the index number to subset a DNAStringSet
Yes I should add this. In the meantime yes you can always turn
the names into positions with match():
seqs[match(ids4, names(seqs))]
This is actually how the subsetting by name will be implemented.
Cheers,
H.
>
> shangao
>
> [[alternative HTML version deleted]]
>
> _______________________________________________
> Bioc-sig-sequencing mailing list
> Bioc-sig-sequencing at r-project.org
> https://stat.ethz.ch/mailman/listinfo/bioc-sig-sequencing
--
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 Bioc-sig-sequencing
mailing list