Description Usage Arguments Examples
This function creates a nice heatmap for publication. It puts on top of each column a color indicator of what sample type it is, does clustering, and adds a table in the right margin of the figure with logFoldChanges and respective significance indicators (stars).
1 2 3 4 |
mat |
numeric matrix to cluster. Usually th raw expression data. |
facsepr |
factor to separate columns in the heatmaps |
hmeth |
aglomeration strategy |
dmeth |
aglomeration distance to cluster |
coefs |
estimates to be drawn tin the tabl (eg lgFCHs) |
fdrs |
p values or fdr indicating significance of the estimates; should be the same dim as coefs |
ColD |
logical TRUE if cluster by rows and columns |
gn |
gene name |
colfc |
factor to add colored legend to the heatmap |
sn |
edited names for the rows (if different than the rownames) eg symbols for probesets |
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.