plot_cor.ae | R Documentation |
This function has been renamed. Please use plot_cor
instead.
plot_cor.ae(
age.est,
subset = 1:ncol(age.est$cors),
show.prior = F,
c.lwd = 2,
bar.size = 1,
mx.col = "firebrick",
col.p = "royalblue",
xlab = NULL,
...
)
age.est |
an |
subset |
an index vector of the samples to plot (defaults to all) |
show.prior |
logical ; if TRUE, shows the input prior(s) on the plot. |
c.lwd |
line width for the correlation score curve |
bar.size |
size of the estimate confidence interval bars |
mx.col |
color of the age estimate bars |
col.p |
color of the prior bar |
xlab |
the x axis label, passed on to |
... |
additional arguments passed on to |
requireNamespace('wormRef', quietly = TRUE)
# get some samples to stage
samp <- wormRef::Cel_larval$g[,13:15]
# load interpolated reference
r_larv <- prepare_refdata(ref = 'Cel_larval', datapkg = 'wormRef' , n.inter = 200)
# perform age estimate
ae_test <- ae(samp, r_larv)
# check output
summary(ae_test)
plot(ae_test) # plot all sample estimates
plot_cor(ae_test) # plot individual correlation profiles of samples
# get results
ae_test$age.estimates
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.