plotConfRegion {PathoStat} | R Documentation |
Compute the confidence region for the given proportions
plotConfRegion(p1, p2, size = 100, uselogit = TRUE, n = 10000, seed = 1000, jit = FALSE)
p1 |
Read counts for first taxon |
p2 |
Read counts for second taxon |
size |
Total read counts in the sample |
uselogit |
Use logit transformation to compute confidence region |
n |
Total number of simulation points to generate |
seed |
Seed to use in random simulation |
jit |
jitter option (FALSe by default) for the plot |
Confidence region plot
p1 <- 20 p2 <- 25 size <- 200 plotConfRegion(p1, p2, size, uselogit=FALSE)