plotHeatmap: Plot structured z-value heatmaps of differentially expressed...

Description Usage Arguments Value Author(s) See Also Examples

View source: R/srcImpulseDE2_plotHeatmap.R

Description

Creates a complexHeatmap heatmap structured into subsets of genes according to their behaviour and sorted by peak time for raw counts and for the fitted signal.

Usage

1
2
plotHeatmap(objectImpulseDE2, strCondition, boolIdentifyTransients,
  scaQThres = 0.01)

Arguments

objectImpulseDE2

(instance of class ImpulseDE2Object) ImpulseDE2 output object to create heatmap from.

strCondition

(str) 'case','control','combined Heatmap is created from samples of this condition.

boolIdentifyTransients

(bool) Whether to structure heatmap into transient and transition trajectories, only possible if sigmoids were fit to the indicated condition.

scaQThres

(scalar) FDR-corrected p-value threshold for calling differentially expressed genes: Only genes below this threshold are included in the heatmap.

Value

(list length 3)

Author(s)

David Sebastian Fischer

See Also

Called seperately by used.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
library(ComplexHeatmap)
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 = TRUE,
scaNProc        = 1 )
lsHeatmaps <- plotHeatmap(
objectImpulseDE2=objectImpulseDE2,
strCondition='case',
boolIdentifyTransients=TRUE,
scaQThres=0.01)
draw(lsHeatmaps$complexHeatmapRaw)

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