findComp: Find the number of component with batch-effect and component...

Description Usage Arguments Value

View source: R/FindComponents.R

Description

Find the number of component with batch-effect and component with library size

Usage

1
2
3
4
5
6
7
8
9
findComp(
  X,
  libsize = 0,
  batch = 0,
  ncomp = 5,
  fun = "logcosh",
  alg.typ = "parallel",
  method = c("R", "C")
)

Arguments

X

a data matrix with n rows representing samples and m columns representing genes.

libsize

numeric vector of sample library size values. Length - number of samples.

batch

numeric vector of batch value for sample. Length - number of samples.

ncomp

number of components

Value

A list of the following components: compBatchNum - component number with batch effect compLibsizeNum - component number with library size S - weight matrix A - metagene matrix


ViktoriaShamkina/RNA-SeqDataNormalization documentation built on Dec. 18, 2021, 6:17 p.m.