ent.toli: Remove outlier cells when calculating ROGUE

Description Usage Arguments Value Examples

View source: R/ROGUE.R

Description

Remove outlier cells when calculating ROGUE

Usage

1
ent.toli(ent, expr, n = 2, span = 0.5, r = 1, mt.method = c("fdr","BH"))

Arguments

ent

A tibble object returned from the SE_fun or entropy_fit function.

expr

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

n

Remove this many outlier cells.

span

The parameter α which controls the degree of smoothing.

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.

Value

A tibble object with seven columns as 'ent' object.

Examples

1
ent.toli(ent.res, expr, n = 2, mt.method = "fdr")

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