Function plot_diff_boxplot
generates a boxplot of values from choosen data frame column with division in groups.
plot_diff_boxplot(data, condition = "", gene, sqrt.trans = FALSE, title = TRUE)
data | Data frame containing interesing values. |
---|---|
condition | Vector of length equal to numer of rows of data. Vector |
gene | String containing name of gene with values for boxplot. |
sqrt.trans | Root square y-axis transformation. |
title | Plot title, by default id of gene. |
Object of class ggplot containing boxplot for values from choosen gene broken down to groups.
# NOT RUN { library(MLExpRessoData) condition_expr <- ifelse(BRCA_exp7$SUBTYPE == "LumA","LumA","other") plot_diff_boxplot(BRCA_exp, "BRCA2", condition_expr, sqrt.trans=TRUE) # }