Skip to contents

Calculate Sorensen-Dice similarity between paralogous gene pairs

Usage

sd_similarity(edgelist = NULL, paralogs = NULL)

Arguments

edgelist

A 2-column data frame with regulators in column 1 and targets in column 2.

paralogs

A 2-column data frame with gene IDs for each paralog in the paralog pair.

Value

A data frame containing the paralogous gene pairs and their Sorensen-Dice similarity scores.

Examples

data(gma_ppi)
data(gma_paralogs)
edgelist <- gma_ppi
paralogs <- gma_paralogs
sim <- sd_similarity(edgelist, paralogs)