plotPosteriors {RIVER} | R Documentation

## Draw scatter plots of posterior probabilities from both RIVER GAM in terms of outlier status.

### Description

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

### Usage

    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

    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)

[Package RIVER version 1.18.0 Index]