compareDatbaseSetOverlap {sesame}R Documentation

compareDatbaseSetOverlap calculates the pariwise overlap between given list of database sets using a distance metric.

Description

compareDatbaseSetOverlap calculates the pariwise overlap between given list of database sets using a distance metric.

Usage

compareDatbaseSetOverlap(
  databaseSets = NA,
  metric = "Jaccard",
  verbose = FALSE
)

Arguments

databaseSets

List of vectors corresponding to the database sets of interest with associated meta data as an attribute to each element. Optional. (Default: NA)

metric

String representing the similarity metric to use. Optional. (Default: "Jaccard").

verbose

Logical value indicating whether to display intermediate text output about the type of test. Optional. (Default: FALSE)

Value

An upper triangular matrix containing a metric (Jaccard) comparing the pairwise distances between database sets.

Examples

databaseSetNames = c('KYCG.MM285.seqContextN.20210630')
databaseSets = do.call(c, lapply(databaseSetNames, sesameDataGet))
compareDatbaseSetOverlap(databaseSets)


[Package sesame version 1.12.9 Index]