sd_similarity: Calculate Sorensen-Dice similarity between paralogous gene...

View source: R/similarity.R

sd_similarityR Documentation

Calculate Sorensen-Dice similarity between paralogous gene pairs

Description

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)

almeidasilvaf/magrene documentation built on March 16, 2023, 4:29 a.m.