plot_chromosome | R Documentation |
Plot gene expression along a chromosome
plot_chromosome(vsd, chr, scale = FALSE, trunc_val = NULL)
vsd |
An object generated by |
chr |
A string denoting a chromosome as annotated by ENSEMBL, e.g. '1', '2', 'X', 'Y', 'MT' |
scale |
Whether to scale the columns of the heatmap |
trunc_val |
Truncate the expression matrix to this value prior to plotting. This is useful if some very high expression values dominate the heatmap. By default, the heatmap is truncated to expression values at most 3 standard deviations from the mean. |
A Heatmap-class object of the ComplexHeatmap
package that contains the heatmap of expression values.
library("DESeq2")
chr1 <- T47D[which(mcols(T47D)$chromosome=="1"),]
vsd <- vst(chr1)
plot_chromosome(vsd, chr="1")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.