thelovelab / tximport

Transcript quantification import for modular pipelines
134 stars 33 forks source link

Import processed data #42

Closed koenvandenberge closed 4 years ago

koenvandenberge commented 4 years ago

I am working with public data that's been quantified (using kallisto) on the transcript level. However, I am rather interested in a gene-level analysis and was hoping to aggregate the data to the gene level. I only have the processed transcript-level estimated counts matrix available, and an object to link transcripts to genes. I should also be able to get the transcript lengths.

However, I did not find documentation on how to do the aggregation using tximport if we can't get our hands on the quant files. Suppose we have the count matrix, tx2gene object and the transcript lengths, is it recommended to try and recreate the list structure created as output from tximport?

mikelove commented 4 years ago

In the man pages there should be a function summarizeToGene that works on lists of matrices. It’s been exported for a few releases, but it’s not discussed in vignette i think.

koenvandenberge commented 4 years ago

Thanks, and sorry but I missed the issue on posting to the Bioconductor support site here. I will close and continue on Bioconductor support site if I can't get that to work.

mikelove commented 4 years ago

No worries. Let me know if you have any issues.