View source: R/scoringMatrix.R
scoringMatrix | R Documentation |
Calculates the Bhattacharyya coefficient, Similarity score, Sorensen Index, or Percent Similarity Index of all pairwise comparison from a list of data frames.
scoringMatrix(productive_table, mode = "Bhattacharyya")
productive_table |
A tibble of productive sequences generated by the LymphoSeq function productiveSeq. "duplicate_frequency" and "junction_aa" are a required columns. |
mode |
The mode to use for calculating pairwise similarity. Can take the values "Bhattacharyya", "Similarity", "Sorensen", or "PSI". Default is "Bhattacharyya". |
A data frame of Bhattacharyya coefficients, Similarity scores, Sorensen Index, or Percent Similarity Index calculated from all pairwise comparisons from a list of repertoire_id data frames. Both metrics measure the amount of overlap between two samples. The value ranges from 0 to 1 where 1 indicates the sequence frequencies are identical in the two samples and 0 indicates no shared frequencies.
pairwisePlot
for plotting results as a heat map.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.