DegNorm-plot-functions | R Documentation |
DegNorm provides three functions for visualization gene-/sample-wise degradation.
plot_corr(DI)
plot_heatmap(DI)
plot_boxplot(DI)
DI |
a matrix or data.frame of degradation index (DI) scores with each row corresponding to one gene and each column for a sample. |
plot_corr
plots the correlation matrix of DI scores between samples.
plot_heatmap
plots the heatmap of DI scores. Left is ploted in
descending order of average DI scores of genes where each row corresponds
to one gene. In the right plot, DI scores were sorted within each sample and
plotted in descending order.
plot_boxplot
plots the boxplot of DI scores by samples.
These functions return a boxplot of DI scores by sample, a heatmap of DIS scores of all genes in all samples and a correlation plot of DI scores between samples respectively.
## res_DegNorm_chr21 is degnorm otuput stored in sysdata.Rda
data(res_DegNorm_chr21)
plot_boxplot(res_DegNorm_chr21$DI)
plot_heatmap(res_DegNorm_chr21$DI)
plot_corr(res_DegNorm_chr21$DI)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.