lu: lu

Description Usage Arguments Details Value References

View source: R/Cluster_actions.R

Description

Shortcut for length(unique())

Usage

1
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


scDD documentation built on Nov. 8, 2020, 7:10 p.m.