View source: R/srcImpulseDE2_modelFits.R
computeModelFits | R Documentation |
Return a gene x sample and gene x time point (for each condition) matrix with model fits.
computeModelFits(objectImpulseDE2)
objectImpulseDE2 |
(instance of class ImpulseDE2Object) ImpulseDE2 output object to create heatmap from. |
sample (data.frame) Data frame with model fit by gene and sample.
case (data.frame) Data frame with model fit by gene and time point in case condition
control (data.frame) Data frame with model fit by gene and time point in control condition
David Sebastian Fischer
Called seperately by user.
lsSimulatedData <- simulateDataSetImpulseDE2( vecTimePointsA = rep(seq(1,8),3), vecTimePointsB = NULL, vecBatchesA = do.call(c, lapply(c("A", "B", "C"), function(x) rep(x, 8))), vecBatchesB = NULL, scaNConst = 0, scaNImp = 50, scaNLin = 0, scaNSig = 50, scaMuBatchEffect = 1, scaSDBatchEffect = 1) objectImpulseDE2 <- runImpulseDE2( matCountData = lsSimulatedData$matObservedCounts, dfAnnotation = lsSimulatedData$dfAnnotation, boolCaseCtrl = FALSE, vecConfounders = c("Batch"), boolIdentifyTransients = TRUE, scaNProc = 1 ) modelFits <- computeModelFits(objectImpulseDE2=objectImpulseDE2) head(modelFits$case)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.