jaccardSim: Jaccard Similarity

View source: R/affinityPropagation.R

jaccardSimR Documentation

Jaccard Similarity

Description

Calculate Jaccard Similarity.

Usage

jaccardSim(idsInSet, score)

Arguments

idsInSet

A list of set names and their member IDs.

score

A vector of addible scores with the same length used to assign input preference; higher score has larger weight, i.e. -logP.

Value

A list of similarity matrix sim.mat and input preference vector ip.vec.

Author(s)

Zhiao Shi, Yuxing Liao


bzhanglab/WebGestaltR documentation built on March 7, 2024, 2:55 p.m.