entropy.seg applies Shannon entropy to V-usage and hence measures variability of V-usage.
Function js.div.seg applied Jensen-Shannon divergence to V-usage of two or more data frames and hence measures distance among this V-usages.entropy.seg(.data, .genes = HUMAN_TRBV, .frame = c('all', 'in', 'out'),
.quant = c(NA, "read.count", "umi.count", "read.prop", "umi.prop"),
.ambig = F)js.div.seg(.data, .genes = HUMAN_TRBV, .frame = c('all', 'in', 'out'),
.quant = c(NA, "read.count", "umi.count", "read.prop", "umi.prop"),
.norm.entropy = T, .ambig = F, .verbose = F, .data2 = NULL)
geneUsage function.geneUsage.entropy.seg - numeric integer with entropy value(s). For js.div.seg - integer of vector one if .data and .data2 are provided;
esle matrix length(.data) X length(.data) if .data is a list.