getPep: Positive Edge Percentage

View source: R/getPep.R

getPepR Documentation

Positive Edge Percentage

Description

Compute the positive edge percentage of an interaction matrix.

Usage

getPep(A)

Arguments

A

the interaction matrix

Details

Values on the diagonal are ignored. More precisely, the positive arc percentage is computed, e.g. the percentage of positive entries in the interaction matrix.

Value

the positive edge percentage

Examples

  A <- cbind(c(-1,0,1),c(0,-1,0),c(-1,0,-1))
  x <- getPep(A)

hallucigenia-sparsa/seqtime documentation built on Jan. 9, 2023, 11:53 p.m.