plot_mouse_tissue_devel | R Documentation |
Nice plot to check expression and PSI across ENCODE mouse developmental stages of different tissues.
plot_mouse_tissue_devel(
data_tbl,
title = NULL,
legend = c("inside", "outside"),
save_plot = FALSE,
plot_name = NULL,
out_plot_dir = NULL,
width = 7,
height = 7,
colour_bar = c("BlueRed", "viridis"),
PSI_limits = c(0, 100),
blck_wht_PSI_col_thshld = 70
)
data_tbl |
A tibble generated with |
title |
A title for the plot. By default ( |
legend |
Either |
save_plot |
Logical, whether or not to save the plot as pdf. |
plot_name |
Name of the pdf plot file. By default ( |
out_plot_dir |
Path specifying where to save the plot. By default ( |
width |
Width of the plot in cm (numeric). Defaults are already very good. |
height |
Height of the plot in cm (numeric). Defaults are already very good. |
colour_bar |
Colour palette to represent the PSI values. Select between |
PSI_limits |
A vector of length 2, specifying the minimum and maximum PSI colour limits in the legend. |
blck_wht_PSI_col_thshld |
The PSI text is shown in black, PSI values above this threshold will be displayed in white instead. Gives better contrast with dark colours of high PSI. |
A ggplot2 plot or a pdf.
get_mouse_tissue_devel_tbl()
# Plot Pax6 expression and its exon 6 PSI
get_mouse_tissue_devel_tbl(vst_id = "MmuEX0033804", ensembl_gene_id = "ENSMUSG00000027168") |>
plot_mouse_tissue_devel(legend = "inside", colour_bar = 'BlueRed')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.