plot_best_corr_genes: Plot to check the top and bottom correlating genes of one AS...

plot_best_corr_genesR Documentation

Plot to check the top and bottom correlating genes of one AS event PSI vs all genes expression levels. (1 vs many)

Description

Plot to check the top and bottom correlating genes of one AS event PSI vs all genes expression levels. (1 vs many)

Usage

plot_best_corr_genes(data, num_genes, ...)

Arguments

data

A tibble generated with ⁠all_gene_expr_corr(num_genes = <NUM>, map_ID_2_names = T)⁠

num_genes

How many top and bottom genes to plot? A vector of length 2 specifying the number of genes to plot for the bottom and for the top correlating genes. Must be above 0.

...

Extra parameters passed to geom_point

Value

A ggplot2 plot.

Examples

#' gimme_PSI_expr_corr(inclusion_tbl = psi_path, vst_id = "HsaEX0000001", 
                       vst_expression_tbl = expr_path, corr_method = "spearman", 
                       verbose = F, use = "complete.obs", quality_thrshld = "LOW",
                       num_genes = 10, expr_min_mean_fltr = 10,
                       map_ID_2_names = T, species = "hsapiens") |>
                   plot_best_corr_genes(size = 5, stroke = 0.25)  

Ni-Ar/niar documentation built on Feb. 3, 2025, 9:25 a.m.