In the Deseq2 vignette the first step is creating the object
dds <- DESeqDataSet(se, design = ~ batch + condition)
based on the RangedSummarizedExperiment object se.
In my case, I have a raw count expression matrix (that I got from Kallisto) stored in "exp" and the metadata stored in "met".
I used the following code without creating RangedSummarizedExperiment object:
mydds <-DESeqDataSetFromMatrix(countData = ecp,colData = met,design = ~batch+condition)
Is mydds == dds?