Description Usage Arguments Value Examples
View source: R/plotting_wrappers.R
Plot heatmap of raw counts for top DEgenes using edgeR/DESeq2 output
1 2 3 | plotHeatmap(DEoutput, fdr = 0.05, fcountOutput, sampleNames,
topNgenes = 100, clusterbyCorr = FALSE, useGeneNames = TRUE,
markGenes = NULL, outFile = NA)
|
DEoutput |
A tab-seperated edgeR/DESeq2 output file, using |
fdr |
FDR cutoff for DE genes |
fcountOutput |
Featurecounts output (for raw counts) |
sampleNames |
samplenames for heatmap column label (must be the same order as in featurecounts file) |
topNgenes |
How many genes to plot. Type NULL for all genes (might take long time) |
clusterbyCorr |
Whether to cluster row/columns by correlations. Default is eucledian distances. |
useGeneNames |
Use gene names to plot instead of default geneIDs. only works if the input
has been annotated by |
markGenes |
Genes to mark in bold on heatmap. |
outFile |
File name to save the output. NULL prints heatmap on screen. |
A heatmap.
1 2 3 | deout <- system.file("extdata", "edgeR_output_annotated.tsv", package="vivlib")
fc <- system.file("extdata", "fcount_mouse.tsv", package="vivlib")
plotHeatmap(DEoutput = deout, fcountOutput = fc, sampleNames = rep(c("cnt","KD"), each = 3))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.