[Bioc-devel] converting character vector to DNAStringSetList

Hervé Pagès hpages at fhcrc.org
Fri Apr 19 21:47:35 CEST 2013


On 04/19/2013 12:35 PM, Hervé Pagès wrote:
[...]
>    > comma_sep_strings <- c("AA,TT", "ACGT", "", "TT,A,,TAG")
>    > DNAStringSetList(strsplit(comma_sep_strings, ",", fixed=TRUE))
>    Error in strsplit(comma_sep_strings, ",") : non-character argument

Some copy/paste mic-mac on my end, sorry. The real error message I get
is:

   > DNAStringSetList(strsplit(comma_sep_strings, ",", fixed=TRUE))
   Error in (function (classes, fdef, mtable)  :
     unable to find an inherited method for function ‘seqtype’ for 
signature ‘"character"’

Not very explicit anyway... :-/

H.



More information about the Bioc-devel mailing list