Learn R Programming

MSiP (version 1.3.7)

diceCoefficient: diceCoefficient

Description

This function applies Dice coefficient to score instances (e.g., bait-prey interactions (BPIs) in the data.frame.The Dice coefficient was first applied by Zhang et al., 2008 to score interactions between all identified proteins (baits and preys) in a given AP-MS experiment.

Usage

diceCoefficient(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 Dice coefficient score, a number between 0 and 1

References

Zhang, B., Park, B.-H., Karpinets, T., and Samatova, N. F. (2008). From pull-down data to protein interaction networks and complexes with biological relevance. Bioinformatics 24, 979-986.

Examples

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

Run the code above in your browser using DataLab