I have a data frame. Let\'s call him bob:
bob
> head(bob) phenotype exclusion GSM399350 3- 4- 8- 25- 44+
Maybe a newer option?
library("tidyverse") bob <- bob %>% group_by_if(is.factor, as.character)