View source: R/summary_functions.R
PlotCountHeatmap | R Documentation |
takes an expression matrix and makes a 2D histogram on the log scale where each row is a gene and the number of samples in a bin is shown by the intensity of the color
PlotCountHeatmap(
log_real,
mean_counts,
data_name,
given_ord = NA,
zeropropthres = 0.8,
filename = NA,
saving = F
)
log_real |
the logged distribution of count distribution, obtained through the LogDist function |
mean_counts |
the average expression for each gene, used for sorting purpose |
data_name |
a string which is included in the title of the plot to describe the data used |
given_ord |
the given order of genes |
zeropropthres |
the genes with zeroproportion greater than this number is not plotted (default to 0.8) |
filename |
the name of the output plot. Will not be used if saving=F. |
saving |
if the plot should be saved into a file |
heatmapplot <- PlotCountHeatmap(LogDist(countmatrix,seq(0, 4, 0.4)),rowMeans(countmatrix),
given_ord= NA,zeropropthres=1,filename=NA,data_name='true counts',saving=F)
heatmapplot[[2]]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.