Description Usage Arguments Value Examples
View source: R/p06_profile_heatmap.R
This function generate a profile heatmap using EnrichedHeatmap function. The genes are clustered into different groups based on the profile using k-means clustering algorithm. Optionally, the prior clustering information can be provided through argument geneGroups
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15  | 
profileMat | 
 profile matrix of class   | 
signalName | 
 name of the signal track  | 
profileColor | 
 Color function for profile heatmap generated by   | 
columnTitle | 
 title to be placed on the column. Default: signalName  | 
createClusters | 
 Logical: whether or not to do kmeans clustering. If FALSE, clusterStorePath must be provided which has the cluster data. Default: FALSE  | 
numClust | 
 number of clusters to generate using k-means clustering. Default: 7  | 
geneGroups | 
 Either a dataframe or a file path with cluster information or NULL.
Two columns must be present in this dataframe:   | 
showAnnotation | 
 Logical: to show or hide top annotation. Default: TRUE  | 
clusterColor | 
 Color assignment object for cluster colors. If nothing provided, colors are generated internally. Default: NULL  | 
ylimFraction | 
 A numeric vector with one or two elements for deciding the   | 
posLineGpar | 
 
  | 
rasterPar | 
 rasterization parameters as list() with two elements: use, qual. Default:
  | 
... | 
 Other arguments for EnrichedHeatmap function  | 
A list object with following elements:
heatmap: Enriched heatmap
rowGroupHt: row group heatmap
legend: Annotation legend for clusters
cluster: dataframe with cluster information
clusterColor: cluster color assignment information
profileColor: Heatmap profile color function generated by colorRamp2
ylim: ylimit used for the top annotation Y axis limit
kmeans: if kmeans clustering was performed, a kmeans clustering result object
1  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.