FindBadSamples: FindBadSamples function

View source: R/Preprocess_QualityChecks.R

FindBadSamplesR Documentation

FindBadSamples function

Description

Function to visually find bad samples with non-bimodal distributions using density plots.

Usage

FindBadSamples(
  x,
  badSamples = c(),
  n = 4,
  ylim = c(0, 5),
  Swabname_position = 3
)

Arguments

x

Epigenetic set object.

badSamples

Number or filenames of the bad idat files.

n

number of density plots per plot. Max 4 is suggested.

ylim

range of the y-axis

Swabname_position

Position of swabname in the filename (separated by "_")

Value

Updated Epigenetic set object.


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