Well, i have as an input 8 files, generated by RSEM. first i do
txi.rsem <- tximport(files, type = "rsem", txIn = FALSE, txOut = FALSE)
Where files is object with my 8 files
then, when i do final transformation to deseq2 data:
dds <- DESeqDataSetFromTximport(txi.rsem, samplenames, ~condition)
I get an error
Error: all(lengths > 0) is not TRUE
which is self-explanatory, but i can't really fight it, because all lengths were obtained in an automated way from RSEM. Which is why i'd appreciate if i could understand the template for deseq2 data object input, so i could generate it myself with different scripting