writeReportToFile: Print ImpulseDE2 report to .txt file

View source: R/srcImpulseDE2_classImpulseDE2Object.R

writeReportToFileR Documentation

Print ImpulseDE2 report to .txt file

Description

Print ImpulseDE2 report to .txt file.

Usage

writeReportToFile(object, fileReport)

Arguments

object

(ImpulseDE2Object) Output object of ImpulseDE2.

fileReport

(file) File to print report to.

Value

No return.

Author(s)

David Sebastian Fischer

Examples

dirPWD <- getwd() # Will save into current working directory.
lsSimulatedData <- simulateDataSetImpulseDE2(
vecTimePointsA   = rep(seq(1,8),3),
vecTimePointsB   = NULL,
vecBatchesA      = NULL,
vecBatchesB      = NULL,
scaNConst        = 30,
scaNImp          = 10,
scaNLin          = 10,
scaNSig          = 10)
objectImpulseDE2 <- runImpulseDE2(
matCountData    = lsSimulatedData$matObservedCounts, 
dfAnnotation    = lsSimulatedData$dfAnnotation,
boolCaseCtrl    = FALSE,
vecConfounders  = NULL,
scaNProc        = 1 )
# Uncomment to run:
#writeReportToFile(
#object=objectImpulseDE2,
#file=paste0(dirPWD, 'ImpulseDE2Report.txt')
#)


YosefLab/ImpulseDE2 documentation built on Sept. 17, 2022, 2:45 a.m.