has_sufficient_abundance_for_entropy: has_sufficient_abundance_for_entropy

View source: R/diversity_fxns.R

has_sufficient_abundance_for_entropyR Documentation

has_sufficient_abundance_for_entropy

Description

Over the range of TCGA TCR entropies (0.975-8.1) we calculated the minimum number of reads needed to get within the 95th CI of the entropy at 100 billion reads. See Optimize_Diversity_Metrics_CRSV1371 project file, plot_fraction_entropy.R.

Usage

has_sufficient_abundance_for_entropy(my_abundance, measured_entropy)

Arguments

my_abundance

Integer of the total abundance of the counts

measured_entropy

Measured entropy of the sample. Value should be close to the range of (0.975-8.1).

Value

Boolean of whether this abundance is enough to just use the measured entropy

See Also

Other diversity: chao1(), dXX_index(), evenness(), get_corrected_entropy_rdata_2_4096_path(), get_corrected_entropy_rdata_4097_65536_path(), get_corrected_entropy_rdata_ab1025_65K_ent1_8_path(), get_corrected_entropy_rdata_ab8_1024_ent1_8_path(), inv_simpson(), predict_true_entropy_from_counts(), predict_true_entropy_from_diversity(), screen_counts(), shannon_entropy()


Benjamin-Vincent-Lab/binfotron documentation built on Oct. 1, 2024, 8:33 p.m.