DetermineK: Calculate the value of the reference factor K

Description Usage Arguments Value Examples

View source: R/ROGUE.R

Description

Determine the value of the reference factor K by specifying a highly heterogeneous dataset

Usage

1
DetermineK(expr, span = 0.5, r = 1, mt.method = "fdr", if.adj = T)

Arguments

expr

The expression matrix. Rows should be genes and columns should be cells.

span

The parameter α which controls the degree of smoothing.To improve the performance.

r

A small fixed value to avoid log(0) of mean gene expression levels. The default value of r is set to 1, but can also be set to other values such as 0.1 and 0.01.

mt.method

The multiple testing method used in p.adjust.

if.adj

Whether to apply multiple testing method to adjust p.value.

Value

The K value

Examples

1
k <- DetermineK(expr, span = 0.5, r = 1, mt.method = "fdr")

RyanYip-Kat/yipCat documentation built on Dec. 18, 2021, 11:55 a.m.