updateDEAnalysis: Update dfImpulseDE2Results after sigmoids have been fit...

Description Usage Arguments Value Author(s) See Also Examples

View source: R/srcImpulseDE2_runDEAnalysis.R

Description

This is a userfriendly wrapper of runDEAnalysis for this update scenario.

Usage

1
updateDEAnalysis(objectImpulseDE2, scaQThresTransients = 0.001)

Arguments

objectImpulseDE2

(object class ImpulseDE2Object) Object containing fits to be evaluated.

scaQThresTransients

(scalar) [Default 0.001] FDR-corrected p-value threshold for hypothesis tests between impulse, sigmoidal and constant model used to identify transiently regulated genes.

Value

objectImpulseDE2 (ImpulseDE2Object) Input object with dfDEAnalysis updated to: dfDEAnalysis (data frame samples x reported characteristics) Summary of fitting procedure and differential expression results for each gene.

Entries only present in case-only DE analysis:

Entries only present in case-control DE analysis:

Entries only present if boolIdentifyTransients is TRUE:

Author(s)

David Sebastian Fischer

See Also

Called by separately by user.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
lsSimulatedData <- simulateDataSetImpulseDE2(
vecTimePointsA   = rep(seq(1,8),3),
vecTimePointsB   = NULL,
vecBatchesA      = NULL,
vecBatchesB      = NULL,
scaNConst        = 0,
scaNImp          = 50,
scaNLin          = 0,
scaNSig          = 50)
objectImpulseDE2 <- runImpulseDE2(
matCountData    = lsSimulatedData$matObservedCounts, 
dfAnnotation    = lsSimulatedData$dfAnnotation,
boolCaseCtrl    = FALSE,
vecConfounders  = NULL,
boolIdentifyTransients = FALSE,
scaNProc        = 1 )
# You could have used boolIdentifyTransients=TRUE
# to avoid the following post wrapper fitting.
objectImpulseDE2 <- fitSigmoidModels(
objectImpulseDE2 = objectImpulseDE2,
vecConfounders   = NULL,
strCondition     = 'case')
objectImpulseDE2 <- updateDEAnalysis(
objectImpulseDE2=objectImpulseDE2,
scaQThresTransients=0.001)
head(objectImpulseDE2$dfImpulseDE2Results)
# dfImpulseDE2Results now contain 'transients-analysis'.

ImpulseDE2 documentation built on April 28, 2020, 9:19 p.m.