plotPosteriors: Draw scatter plots of posterior probabilities from both RIVER...

Description Usage Arguments Value Author(s) Examples

View source: R/plotPosteriors.R

Description

plotPosteriors draws scatter plots of posterior probabilities from both RIVER GAM (genomic annotation model) in terms of outlier status.

Usage

1
plotPosteriors(postprobs, outliers)

Arguments

postprobs

Output of evaRIVER, which provides test posterior probabilities from both RIVER and GAM for all instances.

outliers

Outlier status of examples

Value

A figure of posteriors from RIVER (y-axis) and GAM (x-axis) models for ouliters and non-outliers separately

Author(s)

Yungil Kim, ipw012@gmail.com

Examples

1
2
3
4
dataInput <- getData(filename=system.file("extdata", "simulation_RIVER.gz",
        package = "RIVER"), ZscoreThrd=1.5)
postprobs <- appRIVER(dataInput)
plotPosteriors(postprobs, outliers=as.numeric(unlist(dataInput$Outlier))-1)

RIVER documentation built on Nov. 8, 2020, 6:54 p.m.