Description Usage Arguments Value Author(s) See Also
View source: R/srcImpulseDE2_runDESeq2.R
Run DESeq2 and extract dispersion parameter estimates. Catch and remove dispersion outlier exception on samples with zero-count observations.
1 | runDESeq2(dfAnnotationProc, matCountDataProc, boolCaseCtrl, vecConfounders)
|
dfAnnotationProc |
(data frame samples x covariates) Sample, Condition, Time (numeric), TimeCateg (str) (and confounding variables if given). Processed annotation table with covariates for each sample. |
matCountDataProc |
(matrix genes x samples) Read count data. |
boolCaseCtrl |
(bool) Whether to perform case-control analysis. Does case-only analysis if FALSE. |
vecConfounders |
(vector of strings number of confounding variables) Factors to correct for during batch correction. Have to supply dispersion factors if more than one is supplied. Names refer to columns in dfAnnotationProc. |
(numeric vector length number of genes) Dispersion parameter estimates for each gene. In format of parameter size of dnbinom which is 1/dispersion factor of DESeq2.
David Sebastian Fischer
Called by runImpulseDE2.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.