clusterSampleHeatmap2 | R Documentation |
Compute and plot column correlation matrix. Normally used to do sample corealtion of gene expression or OTU abundance matrix.
clusterSampleHeatmap2(
mat,
method = "pearson",
digits = 4,
cor_file = NULL,
saveplot = NULL,
...
)
mat |
A dataframe. |
method |
Type of correlation coefficient given to |
digits |
Number of decimial digits (given to |
cor_file |
Save ordered correlation matrix to given file name. |
saveplot |
Save plot to given file "a.pdf", "b.png". |
... |
Additional parameters given to plot output ( |
Nothing
df = generateAbundanceDF()
clusterSampleHeatmap2(df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.