Is there a way to obtain the relative importance of a variable in the design formula of the DESeq2 model? For example, if I have a variable for age in my design formula and I want to know the percentage of variance accounted for by age. I know you can run a likelihood ratio test with a reduced model that does not include the factor to see if it is significant or not. But is there something similar to when you have a multiple linear regression model and calculate the proportion of R-squared associated with each variable? Or any metric that allows you to understand how important each variable is within the design formula.

Maybe someone has used this package before? https://www.bioconductor.org/packages/release/bioc/vignettes/variancePartition/inst/doc/variancePartition.pdf

Originally posted on Biostars: https://www.biostars.org/p/9474612/#9474612