read_phylip_distmat | R Documentation |
This function reads a phylip formatted distance matrix, as generated by e.g. the EMBOSS tool distmat.
read_phylip_distmat(path, skip = 8, include_diagonal = T)
path |
Path to a phylip formatted distance matrix file |
skip |
Number of lines before the actual distance values start |
include_diagonal |
Should the diagonal of the distance matrix be included? |
The number of lines to skip can be different for different phylip distance matrix files.
For each row, the value of sequence_1 will be before the value of sequence_2 in sorting order.
A tibble with the variables sequence_1, sequence_2 and distance
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.