I plan to use the readDGE function with two CSV files containing gene counts from different samples. One has 2814 genes and the other 2809 genes. The files are on my Desktop and this is the error that I get:
> files <- dir(pattern="*\\.csv$")
> RG <- readDGE(files)
Error in `[.data.frame`(d[[i]], , columns) :
undefined columns selected
How I can fix the error?