It depends on whether you want to change other entries in Assay . The easy way is to simply add 0 after the dash:
df$Assay <- gsub('-', '-0', df$Assay)
A regular solution would be something like:
df$Assay <- gsub('(\\d\\d)','0\\1', df$Assay)
This will replace any two digits with 0 , followed by the same two digits. You should be careful with regular expressions because you need to know your data well to be sure that you will not change anything wrong. For example, if you have CCT62-18 as an entry in Assay , you will not want to use this regular expression because it will change the number from 62 to 062.
source share