Description Usage Arguments Details Value Examples
Given a set of genomic samples, returns a pairwise geentic distance matrix
1 | gd(samp, libr, nuc, key)
|
samp |
Vector of sample IDs. |
libr |
Library object from simulation functions. A list in which each entry represents a unique genotype, and is a vector of mutated nucleotide positions relative to the reference seqeunce. |
nuc |
Nucleotide database from simulation functions. A list (corresponding to |
key |
Vector of sample IDs in the order they appear in the |
Each element of samp
represents one row and column in the genetic distance matrix.
Returns a symmetric genetic distance matrix with rows and columns corresponding to the samp
vector.
1 2 | data(withinhost)
gd(withinhost$obs.strain, withinhost$libr, withinhost$nuc, withinhost$librstrains)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.