find_n_comp: Checks 'n_comp'

find_n_compR Documentation

Checks n_comp

Description

Checks n_comp

Usage

find_n_comp(df, n_comp = NULL, method_align = "MC")

Arguments

df

An input data frame

n_comp

Integer; the number of Gaussian components to be used with method_align = MGKernel. A typical value is 2 or 3. The variable n_comp overwrites the argument k in normalmixEM.

method_align

Character string indicating the method in aligning log2FC across samples. MC: median-centering; MGKernel: the kernel density defined by multiple Gaussian functions (normalmixEM). At the MC default, the ratio profiles of each sample will be aligned in that the medians of the log2FC are zero. At MGKernel, the ratio profiles of each sample will be aligned in that the log2FC at the maximums of kernel density are zero.


qzhang503/proteoQ documentation built on Dec. 14, 2024, 12:27 p.m.