Plots boxplots that can be used to see the change in gene expression after adjustment for batch effects using ComBat
1 | boxplot_data(expr, when, NameString, batch = "Batch", return.plot = FALSE)
|
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.