plotPriorAS: Plot prior distribution on set of expressed variants (i.e....

Description Usage Arguments Methods Examples

Description

Plots the prior distribution on the number of expressed variants and the number of exons per variant in genes with exons exons (as returned by function modelPrior). The prior distribution is compared to the observed frequencies to check that the assumed distributional forms are reasonable.

Usage

1
2
plotPriorAS(object, type="nbVariants", exons=1:9, xlab,
ylab="Probability", col=c("red","blue"))

Arguments

object

modelPriorAS object with prior distribution on model space.

type

Set to "nbVariants" to plot the prior on the number of variants per gene. Set to "nbExons" to plot the prior on the number of exons.

exons

Vector with integers. The plot is only produced with number of exons indicated in exons.

xlab

x-axis label, passed on to plot

ylab

y-axis label, passed on to plot

col

Colors for bars showing prior probabilities and frequencies in the known genome

Methods

signature(object = "modelPriorAS")

object contains the prior distribution on the model space, as returned by function modelPrior

Examples

1
#See modelPrior examples

casper documentation built on Dec. 17, 2020, 2:01 a.m.