BatchEffect_prc: BatchEffect_prc function

View source: R/BatchEffect_prc.R

BatchEffect_prcR Documentation

BatchEffect_prc function

Description

Creates principical components from the beta set to assess batch effect.

Usage

BatchEffect_prc(
  x,
  n_pcs = 8,
  filename_info = c("Chip", "Well", "Sample_nr", "Sample_type", "Ptn_Cntrl", "Patnr",
    "Early_Late", "Timepoint"),
  filename_separator = "_"
)

Arguments

x

Epigenetic set object.

n_pcs

numbers of principical components that need to be created. The default is 8.

filename_info

A vector that explains the structure of the idat filename, such that the experiment info can be extrated using the idat filename.

filename_separator

A string that identifies how the filename structure is devided. The default is "_"

Value

Updated Epigenetic set object.


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