I am trying all afternoon to do this:
Convert a dataframe to integer, which works fine: cts <- lapply(cts, function(x) as.integer(x))
But afterwards my rownames(cts) = Null. I want to keep my rownames. How do I exclude them from this conversion?
Thanks so much!!