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)

Arguments

data

Data frame containing interesing values.

condition

Vector of length equal to numer of rows of data. Vector condition should contains names of groups corresponding to rows.

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.

Value

Object of class ggplot containing boxplot for values from choosen gene broken down to groups.

See also

Examples

# NOT RUN {
library(MLExpRessoData)
condition_expr <- ifelse(BRCA_exp7$SUBTYPE == "LumA","LumA","other")
plot_diff_boxplot(BRCA_exp, "BRCA2", condition_expr, sqrt.trans=TRUE)
# }