sccomp_boxplot | R Documentation |
This function plots a boxplot of the results of the model.
sccomp_boxplot(.data, factor, significance_threshold = 0.025)
.data |
A tibble including a cell_group name column | sample name column | read counts column | factor columns | Pvalue column | a significance column |
factor |
A character string for a factor of interest included in the model |
significance_threshold |
A real. FDR threshold for labelling significant cell-groups. |
A ggplot
data("counts_obj")
estimate =
sccomp_estimate(
counts_obj ,
~ type, ~1, sample, cell_group, count,
cores = 1
) |>
sccomp_test()
# estimate |> sccomp_boxplot()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.