Visualize molecular profile difference between mutation and wild status of queried gene in Single Cancer Type
vis_toil_Mut_cancer(
mut_Gene = "TP53",
Gene = NULL,
data_type = NULL,
Mode = c("Dotplot", "Violinplot"),
Show.P.value = TRUE,
Show.P.label = TRUE,
Method = c("wilcox.test", "t.test"),
values = c("#DF2020", "#DDDF21"),
draw_quantiles = c(0.25, 0.5, 0.75),
trim = TRUE,
Cancer = "ACC",
opt_pancan = .opt_pancan
)
a ggplot
object or a tibble data.frame.
the queried gene to determine grouping based on mutation and wild status
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", "methylation", "miRNA".
choose one visualize mode to represent data
TRUE
or FALSE
whether to count P value
TRUE
or FALSE
present p value with number or label *
, **
, ***
and ****
default method is wilcox.test
the color to fill mutation or wild status
draw quantiles for violinplot
whether to trim the violin
select cancer cohort(s).
specify one dataset for some molercular profiles