BatchEffect_PointPlot: BatchEffect_PointPlot Function

View source: R/BatchEffect_Visualise.R

BatchEffect_PointPlotR Documentation

BatchEffect_PointPlot Function

Description

Make point plots from the first 3 principal components from the beta set to assess whether batch effect is present. Every Plot should only contain maximum 6 groups to maintain an overview.

Usage

BatchEffect_PointPlot(
  x,
  batch,
  n = 6,
  xlim = c(-1000, 2500),
  ylim = c(-1000, 1000)
)

Arguments

x

Epigenetic set object.

batch

The non-biological factor which we want to investigate for batch effect.

n

Number of samples per plot. It is advised to not exceed 6 groups 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.