Description Usage Arguments Value Examples
Heatmap plot a set of gene expression matrix of the same set of gene and cells with proper annotations
1 2 3 4 |
datalist |
a list of gene expression matrixes of size p by n, (where rows are of the same set of genes and columns are of the same set of cells). |
dirname |
a string of directory names to save the plots, default as NULL, that is not saving but directly showing the plots. |
genes |
a vector contains names of the genes to be plotted. |
cellinfo |
a dataframe contains a column named 'newcelltype' of length n, where each entries corresponds to the cell group identity that a cell belongs to. This information will be used for annotating the final heatmap. Default is NULL, that is no cell annotation. |
rowv |
a vector contains the ordering of the genes
for all data matrix in the final heatmap.
Default is FALSE, that the ordering resulted from
the clustering ( |
colv |
a vector contains the ordering of the cells
for all data matrix in the final heatmap.
Default is FALSE, that the ordering resulted
from the clustering ( |
geneinfo |
a dataframe contains a column named 'newcelltype' of length p, where each entries corresponds to the cell group identity that a gene marks. This information will be used for annotating the final heatmap. Default is NULL, that is no gene annotation. |
log |
whether take the log transform of the data |
norm |
whether take the counts per million normalization of the data |
maxdata |
the maximun cutoff of the correlation, default is NULL, that is no cutoff. |
mindata |
the minmum cutoff of the correlation, default is 0. |
ncol |
the number of columns in the combined plots, default as 3. |
size |
the size of the cellwidth and cellheight in heatmap, default as 3. |
width |
the width of the final pdf plot, default as 8. |
height |
the height of the final pdf plot, default as 8. |
color |
what set of color panel to use, default is "YlGnBu:100". |
extrainfo |
a string of extra information to saved in the final plot filename, default as "". |
heatmap plots showing immediately or pdf files saved to desinated directory.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.