I'm trying to conduct
lmFit on my
fit <- lmFit(matchedgeneTPM)[,-c(1,2)]
It's giving me the error that expression object should be numeric and that there are 2 non-numeric columns (because the first two columns are the labels of the genes and gene ID's I'm working with). I thought the last portion of my code would allow it to skip over the first two columns but apparently it's not the right way to do it. Can someone show me how to format the code correctly, please?