Function plot_gene generates a dashboard with methylation_path for methylation and boxplots for groups.

plot_gene(data.m, data.e, condition.m, condition.e, gene, ...)

Arguments

data.m

Data frame containing information from methylation.

data.e

Data frame containing information from expression.

condition.m

Condition for methylation data (data.m).

condition.e

Condition for expression data (data.e).

gene

Gene name.

...

Optional arguments (e.g from plot_methylation_path or plot_diff_boxplot functions)

Value

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

See also

Examples

# NOT RUN {
library(MLExpRessoData)
condition_exp <- ifelse(BRCA_exp$SUBTYPE == "LumA","LumA","other")
condition_met <- ifelse(BRCA_met$SUBTYPE == "LumA","LumA","other")
plot_gene(BRCA_met,BRCA_exp,condition_met, condition_exp, "ICAM2")
# }