distanceMatrix: Calculate a distance matrix of an alignment

Description Usage Arguments Details Value

View source: R/DistanceMatrix.R

Description

Create a matrix of pariwise distances between languages. Takes as input eighter a set of languages or an alignment matrix

Usage

1
2
distanceMatrix(languages = NULL, alignment = NULL, type = "Hamming",
  silent = FALSE, ...)

Arguments

languages

ids of the languages

alignment

alignment matrix consisting of 0, 1, ?. If alignment=NULL, then it will be created with the language IDs.

type

one of "Hamming" or "Jaccard"

silent

report progress or not

...

further arguments

Details

Optional arguments are:

Value

a matrix of pairwise distances


KonstantinHoffmann/ABVDTools documentation built on Dec. 14, 2021, 11:48 a.m.