inmoose.deseq2.DESeqDataSet.DESeqDataSet.setDispFunction
- DESeqDataSet.setDispFunction(value, estimateVar=True)
Setter for the
DESeqDataSet.dispersionFunctionpropertyThis function also overwrites
self.var["dispFit"]and the estimate of the variance of dispersion residuals (see argumentestimateVar).See also
- Parameters:
value (function) – a function
estimateVar (bool) – whether to estimate the variance of the dispersion residuals. Setting this to
Falseis needed, e.g. inestimateDispersionsMAP(), when called on a subset of the full dataset in parallel execution.
- Returns:
self object
- Return type: