## Not run:
# ## load an example of IcaSet object
# data(icaSetCarbayo)
#
# ## check which variables you would like to use in the heatmap
# varLabels(icaSetCarbayo)
# keepVar <- c("STAGE","SEX")
# ## Use only component 1
# keepComp <- 1
#
# ## For each component, select contributing *genes* using a threshold of 2 on the absolute projection values,
# ## and plot heatmaps of these contributing genes by ordering genes and samples according to their contribution values
# plot_heatmapsOnSel(icaSet = icaSetCarbayo, selCutoff = 2, level = "genes", keepVar = keepVar,
# keepComp=1, doSamplesDendro = TRUE, doGenesDendro = TRUE,
# heatmapCol = maPalette(low = "blue",high = "red", mid = "yellow", k=44),
# file = "heatmapWithoutDendro_zval3.pdf")
#
# ## For each considered component, select contributing *features* using a threshold of 2 on the absolute projection values,
# ## and plot heatmaps of these contributing genes with dendrograms
# plot_heatmapsOnSel(icaSet = icaSetCarbayo, selCutoff = 2, level = "features", keepVar = keepVar,
# keepComp=1, doSamplesDendro = TRUE, doGenesDendro = TRUE,
# heatmapCol = maPalette(low = "blue",high = "red", mid = "yellow", k=44),
# file = "heatmapWithDendro_zval3.pdf")
#
#
#
# ## End(Not run)
Run the code above in your browser using DataLab