Learn R Programming

MSiP (version 1.3.7)

jaccardCoefficient: jaccardCoefficient

Description

This function computes the Jaccard similarity coefficient scores for instances (e.g., bait-prey interactions (BPIs)) in the data.frame.

Usage

jaccardCoefficient(datInput)

Arguments

datInput

Data frame with column names: Experiment.id, Replicate, Bait, Prey, and count (i.e., prey count).

Value

Data frame containing bait-prey pairs with the Jaccard coefficient score, a number between 0 and 1

Examples

Run this code
# NOT RUN {
data(SampleDatInput)
datScoring <- jaccardCoefficient(SampleDatInput)
head(datScoring)
# }

Run the code above in your browser using DataLab