The tximport vignette describes the following steps for using the data with edgeR:
https://github.com/mikelove/tximport/blob/master/vignettes/tximport.md
<pre>
library(edgeR)
<span style="line-height:1.6...counts</span>
normMat <- txi$length
normMat <- normMat/exp(rowMeans(log(normMat)))
library(edgeR)
o <- log(calcNormFactors(cts/normMat)) + log(colSum…