plotPosteriors {RIVER} | R Documentation |
plotPosteriors
draws scatter plots of posterior probabilities from
both RIVER GAM (genomic annotation model) in terms of outlier
status.
plotPosteriors(postprobs, outliers)
postprobs |
Output of |
outliers |
Outlier status of examples |
A figure of posteriors from RIVER (y-axis) and GAM (x-axis) models for ouliters and non-outliers separately
Yungil Kim, ipw012@gmail.com
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)