OL_matrix: Calculate the overlap matrix between two piles of bimodules.

Description Usage Arguments Value

View source: R/metrics.R

Description

Calculate the overlap matrix between two piles of bimodules.

Usage

1
OL_matrix(com1, com2 = com1, wt.x = 0.5, wt.y = 1 - wt.x)

Arguments

com1, com2

The piles of bimodules to compare

wt.x, wt.y

The weight to assign X and Y sides while calculating overalps.

Value

a c(length(com1), length(com2)) dim matrix whose ijth entry measures the P(com2[j]|com1[i]) weighted with wt.x and wt.y.


miheerdew/BMD-metrics documentation built on Feb. 25, 2018, 1:22 a.m.