Plots the distribution of randomized KLD for each of the genes, together with the mean and standard deviation, the 0.95 quantile and the 0.95 quantile from a normal distribution with mean and standard deviations from the distribution of KLDs. The logCV is indicated in the subtitle of each plot.

plot_rand_KLD(x, n = 12, log = TRUE, tail = FALSE)

Arguments

x

haystack result.

n

number of genes from randomization set to plot.

log

whether to use log of KLD.

tail

whether the genes are chosen from the tail of randomized genes.