Entropy: Calculate the expression entropy of each gene

Description Usage Arguments Value

View source: R/ROGUE.R

Description

Calculate the expression entropy of each gene

Usage

1
Entropy(expr, r = 1)

Arguments

expr

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

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.

Value

A tibble object with three columns 'Gene', 'mean.expr' and 'entropy'.


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