View source: R/calcPairwiseOverlaps.R
makeDist | R Documentation |
Title Create a Jaccard or overlap dissimilarity matrix from the output of calcPairwiseOverlaps
makeDist(overlaps, use = "jaccard", names)
overlaps |
A data.frame output from the calcPairwiseOverlaps function |
use |
Either "overlap" or "jaccard" |
names |
A list of signature names |
a Dist object of (1 - overlap) or (1 - jaccard)
testlist <- list(a = 1:3, b = 3, c = 3:4)
(all <- calcPairwiseOverlaps(testlist))
sigs <- names(testlist)
makeDist(all, "jaccard", sigs)
makeDist(all, "overlap", sigs)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.