View source: R/BatchEffect_Visualise.R
BatchEffect_Visualise | R Documentation |
Function to visualise batch effect using point plots and heatmaps. This function combines the MergeMetadata, BatchEffect_PointPlot and BatchEffect_PCAHeatmap function.
BatchEffect_Visualise(
x,
df,
by,
batch,
Cat_vars = c(),
Cont_vars = c(),
n = 6,
xlim = c(-1000, 2500),
ylim = c(-1000, 1000)
)
x |
Epigenetic set object. |
df |
Metadata |
by |
Name of the column to merge existing data with |
batch |
The non-biological factor that we want to investigate for batch effect. |
Cat_vars |
Categorical variables for the heatmap |
Cont_vars |
Continues variables for the heatmap |
n |
number of samples per plot |
xlim |
range of the x-axis |
ylim |
range of the y-axis |
Updated Epigenetic set object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.