Description Usage Arguments Value Author(s) Examples
View source: R/calculateSimilarity.R
Computes the Hamming Distance for a pair of samples and then aggregates the sum over the genes keeping information of which allele was used for the distance
1 | sample_pair_distance(sample_pair_data)
|
sample_pair_data |
a |
a tibble
object with one row and column HammingDistance &
column data corresponding to the same_allele information
Santiago Medina, Nissim Ranade
1 2 3 4 5 | ## Load example dataset
data("example_sample_pair_data")
## Computes the Hamming distance for one pair of samples
HLAClustRView:::sample_pair_distance(example_sample_pair_data)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.