recCompSize: A function that records the relative sizes of complex C-i...

Description Usage Arguments Value Author(s) Examples

View source: R/recCompSize.R

Description

This function takes two bipartite graph matrices, bg1 and bg2. For each complex C-i of bg1, we find the relative size of C-i for every complex K-j of bg2. A matrix of these ratios is returned with all cardinalities of C-i as the numerators and K-j as denominators. A second matrix is calculated where the cardinality of K-j is the numerator and C-i is the denominator.

Usage

1
recCompSize(bg1, bg2)

Arguments

bg1

The first bipartite graph as an incidence matrix

bg2

The second bipartite graph as an incidence matrix

Value

The return value is a list:

OneOverTwo

The matrix where the cardinalities of complexes from bg1 are numerators.

TwoOverOne

Matrix where cardinalities of complexes from bg2 are numerators.

Author(s)

Tony Chiang

Examples

1
2
3
4
5
#go = getGOInfo(wantAllComplexes = FALSE)
#goM = createGOMatrix(go)
#mips = getMipsInfo(wantSubComplexes = FALSE)
#mipsM = createMipsMatrix(mips)
#recCompSize(goM, mipsM)

ScISI documentation built on Nov. 8, 2020, 5:48 p.m.