Entering edit mode
kristoffer.vittingseerup
▴
20
@kristoffervittingseerup-7310
Last seen 6.5 years ago
European Union
The identical() function fails in Biostrings as can easily be seen from:
> temp1 <- DNAString('AAA')
> temp2 <- DNAString('AGA')
> identical(temp1, temp2)
[1] TRUE
It seems like it only looks at the length:
> temp3 <- DNAString('AGAG')
> identical(temp1, temp3)
[1] FALSE
But the == function works:
> temp1 == temp2
[1] FALSE