Question: How can I import data generated from different sources (salmon and gene count matrix) to generate DESeqDataSet object?
0
5 weeks ago by
Di Yang0
Di Yang0 wrote:

I've got quant.sf files generated by salmon for some samples, and others are gene count matrix files downloaded from web. Is it possible to import them together to generate a DESeqDataSet object? Thx

deseq2 • 63 views
modified 4 weeks ago by Michael Love24k • written 5 weeks ago by Di Yang0
Answer: How can I import data generated from different sources (salmon and gene count ma
0
4 weeks ago by
Michael Love24k
United States
Michael Love24k wrote:

To be safe, I would just take the counts from the tximport list and cbind() them with your other counts matrix. Basically, you are limited in your analysis options because you only have counts for one dataset. There is not the option to use the methods described and recommended in the tximport paper (length offsets, or counts-from-abundance). You can use tximport to import the counts, but just use txi\$counts. And then you are just using observed counts in both datasets with no length offset. This is often not a problem (as we note in the paper), but the other tximport methods protect against bias from changes in the effective length of the feature across the samples.