BinaryDist | R Documentation |
Compute distances for binary distances
BinaryDist(M, method = "Jaccard")
M |
the binary matrix, Each row is a cell, each column is a variant, generated by Make_matrix |
method |
distance method, choose from Jaccard, Dice, 3WJaccard, Simpson, Kulczynski2, Ochiai, Hamming |
dist object
d.Jaccard<-BinaryDist(object@Cts.Mtx.bi,method="Jaccard")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.