Closed jaredmcollette closed 1 year ago
Hi @jaredmcollette , thanks for the suggestion. The SE2DGEList
is from the edgeR package, hence wouldn't aware any of the metadata we stored in the spe. I'll probably write a new function to replace SE2DGEList
before the next release to incorporate the suggested ability.
When using TMM normalisation on a spatial experiment object using
geomxNorm()
, thenorm.factors
are stored in the metadata.Later, when using
SE2DGEList()
to convert the spatial experiment object to a dgeList, thenorm.factors
are not automatically carried over to thedge
, and I have to manually transfer over thenorm.factors
:dge$samples$norm.factors <- metadata(spe_tmm)$norm.factor
It would be helpful to have this process automated