Good day,
According to the documentation, I wouldn't think that substr or strsplit would work on a BStringSet, but substr does.
A BStringSet instance of length 5
width seq
[1] 61 D00626:168:C9CWMANXX:1:1105:1816:1998 1:N:0:TCCGGAGA+ATAGAGGC
[2] 61 D00626:168:C9CWMANXX:1:1105:2113:1989 1:N:0:TCCGGAGA+ATAGAGGC
[3] 61 D00626:168:C9CWMANXX:1:1105:2703:1986 1:N:0:TCCGGAGA+ATAGAGGC
[4] 61 D00626:168:C9CWMANXX:1:1105:3255:1979 1:N:0:TCCGGAGA+ATAGAGGC
[5] 61 D00626:168:C9CWMANXX:1:1105:4525:1995 1:N:0:TCCGGAGA+ATAGAGGC
[1] "D00626:168:C9CWMANXX:1:1105:1816:1998"
[2] "D00626:168:C9CWMANXX:1:1105:2113:1989"
[3] "D00626:168:C9CWMANXX:1:1105:2703:1986"
[4] "D00626:168:C9CWMANXX:1:1105:3255:1979"
[5] "D00626:168:C9CWMANXX:1:1105:4525:1995"
Error in strsplit(IDs, " ") : non-character argument
I think that both of these functions shouldn't work or both should work, to be consistent.
--------------------------------------
Dario Strbenac
University of Sydney
Camperdown NSW 2050
Australia
Message-ID:
<MWHPR01MB270183908304D6EB294A15F2CDEC0@MWHPR01MB2701.prod.exchangelabs.com>