After loading the DESeq2 library I try to take my existing HTSeq-count file (generated elsewhere, not in RStudio) but I run into this error:
Error in colnames<-(*tmp*, value = sampleTable[, 1]) :
attempt to set 'colnames' on an object with less than two dimensions
I am still very new to using RStudio and have very generic understanding of working with R; and I don't even know where to begin to address this error. Any guidance/help would be greatly appreciated!
It looks like it failed to read the counts file. Simplest explanation is that directory is incorrect, or that the filepaths indicated in sampleTable are not right.