How to replace 2nd character of a string in a column in r

前端 未结 0 1738
暗喜
暗喜 2021-01-21 15:25

Here is an example of a data frame.

Type <- c(\'[C>A]\',\'[C>G]\',\'[C>T]\')
Subtype <- c(\'ACA\',\'ACT\',\'ACC\')
df <- cbind(Type, Subtype)
df         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题