Does DESeqDataSetFromHTSeqCount take account of the half-empty first lines of htseq-count output files?
0
A1BG 6
A1BG-AS1 25
A1CF 0
A2M 6
A2M-AS1 383
A2ML1 0
If I leave the first row in the files, then I get an error:
> ddsHTSeqFull <- DESeqDataSetFromHTSeqCount(sampleTable=sampleTableFull, directory=directoryFullFiles, design= ~familyID+condition)
Error in `colnames<-`(`*tmp*`, value = 1:8) :
attempt to set 'colnames' on an object with less than two dimensions
This works fine when I use a version of the files where I have deleted the first row.
Please let me know if I have got this right, or whether there is an issue with my htseq-count files?
Thanks,
Matt
read.table()andcbind()I guess.