simpsonCoefficient {MSiP}R Documentation

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

Author(s)

Matineh Rahmatbakhsh, matinerb.94@gmail.com

Examples

data(SampleDatInput)
datScoring <- overlapScore(SampleDatInput)
head(datScoring)

[Package MSiP version 1.3.7 Index]