boxplot_data: Plots boxplots showing Gene Expression across samples

Description Usage Arguments

View source: R/boxplot_data.R

Description

Plots boxplots that can be used to see the change in gene expression after adjustment for batch effects using ComBat

Usage

1
boxplot_data(expr, when, NameString, batch = "Batch", return.plot = FALSE)

Arguments

expr

A dataframe containing gene expression values. Rows are genes, columns are samples. Could be the dataframe before or after correction

when

String indicating if the expression data is from before or after correction. Use "before" or "after"

NameString

String that will be added in all output filenames. Default=NA.

batch

The title of the batch for which you want to evaluate and do the correction. Default = "Batch"

return.plot

Should the plot be returned as an object to the environment? If FALSE, plot is saved to a pdf file, if TRUE, plot is returned to the environment. Default = FALSE


jankinsan/BatchEC documentation built on Sept. 9, 2021, 8:12 p.m.