Learn R Programming

WebGestaltR (version 0.4.6)

jaccardSim: Jaccard Similarity

Description

Calculate Jaccard Similarity.

Usage

jaccardSim(idsInSet, score)

Value

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

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.

Author

Zhiao Shi, Yuxing Liao