plotHeatmap {ImpulseDE2}R Documentation

Plot structured z-value heatmaps of differentially expressed genes

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

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

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)


[Package ImpulseDE2 version 1.6.1 Index]