Hello,
I am interested in doing some cross species DEG analysis similar to this post using orthologous genes across two closely related species. For curiosity I wanted to compare the sizefactors with and without the gene length information but when I try to use sizeFactors(dds)
for the former case, I get a NULL vector. Is there some documentation on how the size factor is calculated when the gene length is specified?
Thank you very much.
Thanks! My confusion is resolved - the
sizeFactors()
function is only used for constant normalization factors over genes. To compute normalization factors, I randds = DESeq(dds)
first and then extractednormalizationFactors(dds)
.