Hello,
I'm getting the following error in DESeq2 after following the steps below -
data <- read.table("data.tsv", sep="\t", header=T, as.is=T)
countdata <- as.matrix(data[,2:2378])
condition <- as.factor(c(rep("L45", 442), rep("GABA", 1936)))
coldata <- data.frame(row.names=colnames(countdata), condition)
Error in data.frame(row.names = colnames(countdata), condition) :
row names supplied are of the wrong length
any idea why this is happening? the columns are the samples and rows are genes.
Thank you for your help.
Suvi
thank you, this fixed it!