CellEntropy: Calculate entropy for each cell according to the feature...

View source: R/CellEntropy.R

CellEntropyR Documentation

Calculate entropy for each cell according to the feature counts.

Description

Calculate entropy for each cell according to the feature counts.

Usage

CellEntropy(x)

Arguments

x

A sparse matrix which columns represent cells and rows represent features.

Value

A vector of the cell entropy.

Examples

x <- simSimpleCounts()
CE <- CellEntropy(x)
head(CE)

zh542370159/dropSplit documentation built on June 19, 2022, 2:49 p.m.