I have a data frame. Let\'s call him bob:
bob
> head(bob) phenotype exclusion GSM399350 3- 4- 8- 25- 44+
I typically make this function apart of all my projects. Quick and easy.
unfactorize <- function(df){ for(i in which(sapply(df, class) == "factor")) df[[i]] = as.character(df[[i]]) return(df) }