Description Usage Arguments Details Value See Also
Estimate Negative Binomial dispersion paramteter taking into account experimental batch effects.
1 2 3 4 5 6 7 8 9 10 | getFinalDispersions(x, ...)
## Default S3 method:
getFinalDispersions(x, ...)
## S3 method for class 'concensusWorkflow'
getFinalDispersions(x, ...)
## S3 method for class 'concensusDataSet'
getFinalDispersions(x, max_rows = 10000, ...)
|
x |
concensusWorkflow or concensusDataSet. |
... |
Other arguments. |
max_rows |
Numeric. Maximum number of observations to use for MLE. |
Uses the CR penalized maximum profile likelihood method, holding the μ of a GLM fixed and finding the
optimal dispersion α using a Newton-type algorithm as implemented in nlm
.
If the predicted_null_count
column is present in the data
attribute of concensusDataSet
, it is added to
the GLM as an offset
. If the batch effects are real, this should raise the likelihood of and shrink the size of
the final dispersion parameter.
This method will find a dispersion value with and without taking into account predicted_null_count
, saving both results to
the columns of the dispersion
attribute of concensusDataSet
.
concensusWorkflow or concensusDataSet with a new small_model_dispersion
and a new
full_model_dispersion
column in the dispersion
attribute.
nlm, glm
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.