R/diversity.R
tcr_richness.Rd
Returns the number of unique clonotypes (species richness).
tcr_richness(counts)
Integer vector. Clonotype counts (positive integers).
An integer: the number of unique clonotypes.
tcr_diversity, tcr_clonality
tcr_diversity
tcr_clonality
tcr_richness(c(10, 5, 3, 1, 1)) # 5 #> [1] 5