Hi Gordon, I had the same problem and I tried to fix it following your post here. However, edgeR still gave the error message. Here is the code I used
rawCountTable <- read.delim("featureCount_counts", header = FALSE, sep = "\t", row.names = 1)
rawCountTable <- rawCountTable[-c(1,2), -c(1,2,3,4,5)]
rawCountTable <- as.matrix(rawCountTable)
And after running head(rawCountTable), this is what I got
head(rawCountTable)
V7 V8 V9 V10 V11 V12 V13 V14 V15 V16 V17 V18
TG_00001 "0" "0" "0" "0" "0" "0" "0" "0" "0" "0" "0" "0"
TG_00002 "0" "0" "7" "0" "0" "0" "0" "0" "0" "0" "0" "0"
TG_20621 "0" "0" "0" "0" "0" "0" "0" "0" "0" "0" "0" "0"
TG_00003 "0" "0" "0" "0" "0" "0" "0" "0" "0" "0" "0" "0"
TG_00004 "0" "0" "0" "0" "0" "0" "0" "0" "0" "0" "0" "0"
TG_00005 "490" "221" "111" "138" "84" "34" "258" "128" "189" "146" "80" "2"
I am struggling with R and edgeR, I'd really appreciate it if you could take a look at this and help me out. Thanks a lot!