Description Usage Arguments Details Value Examples
Estimate loss of FDR control for scDD using pooled cells and the Kolmogorov-Smirnov test. Quality controlled, library sized normalized (and not log transformed) values should be used.
1 | EstimFDRcontrol(dt, batches, groups, FDR)
|
dt |
|
batches |
vector identifying batches ( |
groups |
vector identifying batches ( |
FDR |
|
When measurement comming from different batches are treated equally independent (pooling cells), then methods for detecting differentially distributed genes lose control over the false discovery rate (FDR). scDD is moderately robust to this effect, yet quite powerful. This function uses your dataset to predict how much scDD underestimates the FDR.
It returns a bool of whether scDD's predicted FDR can be trusted or not. This is decided by a classifier based on a flexible discriminant analysis.
If scDD's FDR control is within an acceptable range, we encourage using the above mentioned method with edgeR and summed up batches (Lun, 2017) and scDD together. scDD is quite good at detecting different shapes in distributions while edgeR is good at detecting different means.
list of bool
whether scDD's FDR can be trusted
and num
of posterior probability from the flexible
discriminant analysis
1 2 3 4 5 6 | ds <- SimulateData()
res <- EstimFDRcontrol(ds$table, ds$pData$batch, ds$pData$group, 0.1)
res
ds <- SimulateData(nCells = 50)
res <- EstimFDRcontrol(ds$table, ds$pData$batch, ds$pData$group, 0.1)
res
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.