View source: R/plotting_functs.R
plot_em_classifications | R Documentation |
Creates a histogram containing the EM estimates for m_perturbation colored by type.
plot_em_classifications(
em_classifications,
sim_spec,
grid_row_id,
categories = c("confident-plausible", "confident-implausible", "unconfident-plausible",
"unconfident-implausible"),
parameter = "m_perturbation"
)
em_classifications |
dataframe outputted by |
sim_spec |
a simulatr specifier object (to supply the ground truth) |
grid_row_id |
grid_row_id giving row to plot |
categories |
classification categories to include in plot |
parameter |
parameter to make histogram for |
There are four categories: the cartesian product of (confident vs. unconfident) and (pluasible vs. implausible). An estimate is "confident" if the posterior membership probabilities are sufficiently spread out (see function obtain valid IDs); and estimate is "plausible" if the estimates themselves are in biologically realistic ranges. Valid IDs are those that are both confident and plausible.
a histogram (in ggplot format)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.