testDropout {LineagePulse}R Documentation

Test for existance of drop-out with log-likelihood ratio test

Description

Performs one test for entire data set.

Usage

testDropout(objLP)

Arguments

objLP

(LineagePulseObject) LineagePulseObject with fitted null and alternative models.

Value

(data frame) Summary of hypothesis test

Author(s)

David Sebastian Fischer

See Also

Called by user.

Examples

lsSimulatedData <- simulateContinuousDataSet(
    scaNCells = 100,
    scaNConst = 10,
    scaNLin = 10,
    scaNImp = 10,
    scaMumax = 100,
    scaSDMuAmplitude = 3,
    vecNormConstExternal=NULL,
    vecDispExternal=rep(20, 30),
    vecGeneWiseDropoutRates = rep(0.1, 30))
matDropoutPredictors <- as.matrix(data.frame(
    log_means = log(rowMeans(lsSimulatedData$counts)+1) ))
objLP <- runLineagePulse(
    counts = lsSimulatedData$counts,
    dfAnnotation = lsSimulatedData$annot,
    strMuModel = "splines", scaDFSplinesMu = 6,
    strDropModel="logistic", 
    matPiConstPredictors = matDropoutPredictors)
testDropout(objLP)$p


[Package LineagePulse version 1.12.0 Index]