clusterSamplePheatmap | R Documentation |
Compute and plot column correlation matrix. Normally used to do sample corealtion of gene expression or OTU abundance matrix.
clusterSamplePheatmap(
mat,
method = "pearson",
digits = 4,
sampleAnno = NA,
cellsize = NULL,
cor_file = NULL,
saveplot = NA,
...
)
mat |
A dataframe. |
method |
Type of correlation coefficient given to |
digits |
Number of decimial digits (given to |
sampleAnno |
Add sample attribute to plot. Accept a dataframe with
rownames as " |
cor_file |
Save ordered correlation matrix to given file name. |
saveplot |
Save plot to given file "a.pdf", "b.png". |
... |
Additional parameters given to |
Size |
of cells. Default autodetect. This is used to get square plot. |
Nothing
df = generateAbundanceDF()
clusterSamplePheatmap(df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.