Learn R Programming

MSiP (version 1.3.7)

simpsonCoefficient: simpsonCoefficient

Description

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

Usage

simpsonCoefficient(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 Simpson coefficient, a number between 0 and 1

Examples

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

Run the code above in your browser using DataLab