powered by
Visualize molecular profile difference between mutation and wild status of queried gene
vis_toil_Mut( mut_Gene = "TP53", Gene = NULL, data_type = NULL, Mode = c("Boxplot", "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, opt_pancan = .opt_pancan )
a ggplot object or a tibble data.frame
ggplot
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").
"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
FALSE
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
specify one dataset for some molercular profiles
if (FALSE) { p <- vis_toil_Mut(mut_Gene = "TP53") p <- vis_toil_Mut(mut_Gene = "TP53", Gene = "TNF") p <- vis_toil_Mut(mut_Gene = "TP53", Gene = "hsa-let-7d-3p", data_type = "miRNA") }
Run the code above in your browser using DataLab