Dear all,
I have a set of short DNA sequences extracted from a Fastq into a data.frame that need to be translated to amino acids.
After the extraction, they are string characters, need to transfer to DNA string, then translate. So I wrote sth like
for (n in 1:length(seqs.frame$DNA_seqs))
{
translate(DNAString(seqs.frame$DNA_seqs[n]))
}
The translation seems to be working, but how do I put the tranlated amino acids back to the data.frame.
Thank you very much!
XIA
it worked, thank you Martin.