Description Usage Arguments Value Note Examples
View source: R/hypothesisTesting.R
Calculate likelihood ratio test for the specific nested model
1 | testLrt(obj)
|
obj |
the MpraObject containing the full and reduced |
results data frame
Must be run after running an LRT-based analysis
1 2 3 4 5 6 7 8 9 | data <- simulateMPRA(tr = rep(2,5), da=c(rep(2,2), rep(2.5,3)),
nbatch=2, nbc=15)
obj <- MpraObject(dnaCounts = data$obs.dna,
rnaCounts = data$obs.rna,
colAnnot = data$annot)
obj <- estimateDepthFactors(obj, lib.factor = "batch", which.lib = "both")
obj <- analyzeComparative(obj, dnaDesign = ~ batch + barcode + condition,
rnaDesign = ~ condition, reducedDesign = ~ 1)
results <- testLrt(obj)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.