## ----echo = FALSE------------------------------------------------------------- knitr::opts_chunk$set( collapse = TRUE, comment = "#:", fig.path = "man/figures/" ) ## output: BiocStyle::html_document ##version <- as.vector(read.dcf('DESCRIPTION')[, 'Version']) ##version <- gsub('-', '.', version) version <- "0.6-5" ## ----------------------------------------------------------------------------- library(polySegratioMM) ## ----echo=FALSE----------------------------------------------------- ##library(cacheSweave) # comment this out after development phase ## to use: Sweave("polySegratioMM-overview.Rnw", driver=cacheSweaveDriver) ## or without cache: Sweave("polySegratioMM-overview.Rnw") op <- options() options(width=70, digits=4) ## ----echo=FALSE----------------------------------------------------- ##< 0.8\n") table(Dose=mcmcHexRun$doses$dosage[,"0.8"], exclude=NULL) ## ------------------------------------------------------------------- cat("Employing theChi squared test\n") dose.chi <- test.segRatio(sr.overdisp, ploidy.level = 6) table(Chi2Dose=dose.chi$dosage, True=hexmarkers.overdisp$true.doses$dosage, exclude=NULL) cat("Employing maximum posterior probability\n") table(MixtureDose=mcmcHexRun$doses$max.post.dosage, True=hexmarkers.overdisp$true.doses$dosage, exclude=NULL) cat("Employing posterior probability > 0.8\n") table(MixtureDose=mcmcHexRun$doses$dosage[, "0.8"], True=hexmarkers.overdisp$true.doses$dosage, exclude=NULL)