View source: R/script - gene-match-o-matic 2000.R
Using the calc_genetic_similarity function, takes a table of genetic samples (rows: samples, columns: snp genotypes) and calculates
1 | calculate_similarities_to_sample(sample, lookup, cutoff_NA_collective)
|
sample |
the sample to find closest match to |
lookup |
a dataframe of samples with SNP data (Each row one sample, each column a snp loki). First row must be ID info. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.