To not miss a post like this, sign up for my newsletter to learn computational biology and bioinformatics.
The problem
df<- data.frame(id = c(1,2,3), value = c('x,y', 'z,w', 'a'))
df
#> id value
#> 1 1 x,y
#> 2 2 z,w
#> 3 3 a
we want to put x,y in the …