plot_pi | R Documentation |
plot_pi
plots the posterior means of the proportions
of US (if 'type' = 'US') or USA (if 'type' = 'USA') counts, in each group.
If 'CI' is TRUE, a profile Wald type confidence interval will also be added;
the level of the confidence interval is specified by 'CI_level'.
plot_pi(results, gene_id, cluster_id, type = "USA", CI = TRUE, CI_level = 0.95)
results |
a |
gene_id |
a character, indicating the gene to plot. |
cluster_id |
a character, indicating the cell cluster to plot. |
type |
a character (either 'SU' or 'SUA'). If "SU", it plots the proportion of Spliced and Unspliced counts (Ambiguous counts are assigned 50:50 to Spliced and Unspliced counts). If "SUA" (default), it plots the proportion of Spliced, Unspliced and Ambiguous counts (Ambiguous counts are kept separately). Note that, although US reads are easier to interpret, USA reads more closely reflect what is being compared between conditions. |
CI |
a logical ('TRUE' by default), indicating whether to plot a profile Wald type confidence interval around the estimated proportions. |
CI_level |
a numeric between 0 and 1, indicating the level of the confidence interval. |
A ggplot
object.
Simone Tiberi simone.tiberi@unibo.it
DifferentialRegulation
# see the example of DifferentialRegulation function:
help(DifferentialRegulation)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.