writeReportToFile: Print ImpulseDE2 report to .txt file

Description Usage Arguments Value Author(s) Examples

View source: R/srcImpulseDE2_classImpulseDE2Object.R

Description

Print ImpulseDE2 report to .txt file.

Usage

1
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
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')
#)

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