I have a data frame. Let\'s call him bob:
bob
> head(bob) phenotype exclusion GSM399350 3- 4- 8- 25- 44+
You should use convert in hablar which gives readable syntax compatible with tidyverse pipes:
convert
hablar
tidyverse
library(dplyr) library(hablar) df <- tibble(a = factor(c(1, 2, 3, 4)), b = factor(c(5, 6, 7, 8))) df %>% convert(chr(a:b))
which gives you:
a b 1 1 5 2 2 6 3 3 7 4 4 8