pairwiseDistance: Calculates the (normalized) Hamming or Jaccard distance of...

Description Usage Arguments

View source: R/DistanceMatrix.R

Description

Calculates the (normalized) Hamming or Jaccard distance of two binary vectors. This can be used to compare two rows of an alignment matrix, where a ? marks missing entries. If normalized=FALSE and removeZeroes=FALSE, this is the classical Hamming distance. If normalized=TRUE and removeZeroes=TRUE, it is the Jaccard distance.

Usage

1
2
pairwiseDistance(x, y, normalized = TRUE, removeMissing = TRUE,
  removeZeroes = FALSE)

Arguments

x
y
normalized
removeMissing
removeZeroes

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