powered by
Visualize Correlation between Gene and Pathway signature Score
vis_gene_pw_cor( Gene = "TP53", data_type = "mRNA", pw_name = "HALLMARK_ADIPOGENESIS", cancer_choose = "GBM", use_regline = TRUE, cor_method = "spearman", use_all = FALSE, alpha = 0.5, color = "#000000", filter_tumor = TRUE, opt_pancan = .opt_pancan )
a ggplot object or dataframe
ggplot
a molecular identifier (e.g., "TP53") or a formula specifying genomic signature ("TP53 + 2 * KRAS - 1.3 * PTEN").
choose gene profile type, including "mRNA", "transcript", "protein", "mutation", "cnv", "methylation", "miRNA".
the queried Pathway name, see the supported pathway from 'load("toil_sig_score")'default is NULL
select cancer cohort(s)
if TRUE, add regression line.
select correlation coefficient (pearson/spearman)
use all sample, default FALSE.
dot alpha.
dot color.
whether use tumor sample only, default TRUE
specify one dataset for some molercular profiles
if (FALSE) { vis_gene_pw_cor(Gene = "TP53", data_type = "mRNA", pw_name = "HALLMARK_ADIPOGENESIS", cancer_choose = "BRCA") }
Run the code above in your browser using DataLab