0

i want to add a symbol ">" before all values of my existing column named "Fasta.headers" in R. How can I do that

Anam
  • 21
  • 1
  • 3

1 Answers1

4

Give a better try in searching. Answering just not to discourage you:

df$Fasta.headers = paste0(">",df$Fasta.headers)

or

df$Fasta.headers = paste(">",df$Fasta.headers,sep = "")