explore_batch_effect_meth: Explore batch effect meth

View source: R/batch-effect-explore-meth.R

explore_batch_effect_methR Documentation

Explore batch effect meth

Description

Explore batch effect meth

Usage

explore_batch_effect_meth(
  trainer,
  batch_name = "Batch",
  classification_name = "Classification",
  top_n_rle = 20000,
  top_n_pca = 20000,
  rle_downsample = 100,
  k = 50,
  threshold = 0.9,
  meth_pca_pdf = "meth_pca.pdf"
)

Arguments

trainer

A S3 object of YamatClassifierTrainer class.

batch_name

column name of batch in the targets attribute of YamatClassifierTrainer object.

classification_name

column name of classification in the targets attribute of YamatClassifierTrainer object.

top_n_rle

an integer of the most variable N loci for relative log expression (RLE) analysis.

top_n_pca

an integer of the most variable N loci for PCA.

rle_downsample

if there are many samples, down-sample it to a number while keep the proportion of each group.

k

Number of eigenvalues requested.

threshold

A numeric scalar between 0 to 1 of the threshold of the fraction of variance to choose PC number. Default to 0.9.

meth_pca_pdf

PDF file for meth PCA result.


markgene/yamatClassifier documentation built on Oct. 14, 2024, 2:36 a.m.