How can I import data generated from different sources (salmon and gene count matrix) to generate DESeqDataSet object?
1
0
Entering edit mode
Di Yang ▴ 30
@di-yang-21029
Last seen 4.4 years ago

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 • 401 views
ADD COMMENT
1
Entering edit mode
@mikelove
Last seen 12 hours ago
United States

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.

ADD COMMENT

Login before adding your answer.

Traffic: 434 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6