When I'm trying to use the DESeqDataSetFromMatrix function, I'm getting the error:
.rowNamesDF<-(x, value = value) : invalid 'row.names'
Yesterday I successfully ran the function with the exact same file inputs with no problem, but somehow without changing the files at all it has stopped working. I tried restarting R, I checked to make sure the sample names lined up, I tried updating all of my packages. Why is this happening? Below is my code.
countData <- read_csv('thyroid_case_counts.csv')
metaData <- read.csv('rna_clinical_data.tsv', header = TRUE, sep = "")
dds <- DESeqDataSetFromMatrix(countData=countData,
design=~Cluster, tidy = TRUE)