lu {scDD}R Documentation

lu

Description

Shortcut for length(unique())

Usage

lu(x)

Arguments

x

Numeric vector of cluster membership (1st item (named class) in list returned by mclustRestricted)

Details

Function to obtain a count of the number of clusters

Value

The count of the number of unique clusters.

References

Korthauer KD, Chu LF, Newton MA, Li Y, Thomson J, Stewart R, Kendziorski C. A statistical approach for identifying differential distributions in single-cell RNA-seq experiments. Genome Biology. 2016 Oct 25;17(1):222. https://genomebiology.biomedcentral.com/articles/10.1186/s13059-016-1077-y


[Package scDD version 1.17.0 Index]