PlotFunctions: Degradation index (DI) score plot functions

DegNorm-plot-functionsR Documentation

Degradation index (DI) score plot functions

Description

DegNorm provides three functions for visualization gene-/sample-wise degradation.

Usage

plot_corr(DI)
plot_heatmap(DI)
plot_boxplot(DI)

Arguments

DI

a matrix or data.frame of degradation index (DI) scores with each row corresponding to one gene and each column for a sample.

Details

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_boxplotplots the boxplot of DI scores by samples.

Value

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.

Examples

## 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)

jipingw/DegNorm documentation built on April 3, 2024, 1:22 a.m.