comp {seqinr} | R Documentation |
Complement a sequence, for instance if the sequence is "a","c","g","t"
it returns "t","g","c","a"
. All other values will return NA.
comp(seq)
seq |
a vector of chars |
It returns a vector of character which is the complement of a sequence.
D. Charif
citation("seqinr")
a=s2c("acgtgctcgtatatatatgccc") comp(a) b=s2c("acgtXctcgtatatatatgccc") comp(b)