BatchEffect_Visualise: BatchEffect_Visualise function

View source: R/BatchEffect_Visualise.R

BatchEffect_VisualiseR Documentation

BatchEffect_Visualise function

Description

Function to visualise batch effect using point plots and heatmaps. This function combines the MergeMetadata, BatchEffect_PointPlot and BatchEffect_PCAHeatmap function.

Usage

BatchEffect_Visualise(
  x,
  df,
  by,
  batch,
  Cat_vars = c(),
  Cont_vars = c(),
  n = 6,
  xlim = c(-1000, 2500),
  ylim = c(-1000, 1000)
)

Arguments

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

Value

Updated Epigenetic set object.


GregoireCoppens/LICMEpigenetics documentation built on April 24, 2023, 10:02 a.m.