Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create tximport object with counts from length-scaled TPMs #47

Open
bryancquach opened this issue Oct 24, 2024 · 0 comments
Open

Create tximport object with counts from length-scaled TPMs #47

bryancquach opened this issue Oct 24, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@bryancquach
Copy link

Overview

This issue pertains to merge_salmon_quant/1.10.2/merge_salmon_quant.R. Based on the vignette for tximport and this publication, incorporating average transcript lengths into count normalization can be helpful. DESeq2 does this automatically, but edgeR and limma do not. When limma is the downstream differential expression analysis tool, a list imported with tximport needs to have counts derived from length-scaled TPMs in order to take advantage of average transcript length in the normalization. An additional code snippet should be added to the R script to generate counts that already have average transcript lengths accounted for. This is done when processing Salmon files to produce gene counts:

tximport(..., type = "salmon", countsFromAbundance = "lengthScaledTPM")
@bryancquach bryancquach added the enhancement New feature or request label Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant