snp_dist | R Documentation |
Function to calculate pairwise snp distance matrix
snp_dist(sparse.data)
sparse.data |
a sparse SNP data object returned from import_fasta_sparse_nt |
A pairwise snp distance matrix
fasta.file.name <- system.file("extdata", "seqs.fa", package = "fastbaps") sparse.data <- import_fasta_sparse_nt(fasta.file.name) snp_dist(sparse.data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.