net_dist_bin: Function to calculate the distance between nodes.

Description Usage Arguments Value Examples

View source: R/net_dist_bin.R

Description

Function to calculate the distance between nodes.

Usage

1
net_dist_bin(GRN, TFs, thr)

Arguments

GRN

An inferred networks with the predictive probabilities that a transcription factor regulates a gene.

TFs

A vector with indexes of the rows of GRN which correspond to TFs.

thr

A scalar between 0 and 1 that is used select the edges with large posterior probabilities.

Value

a matrix with the distances between edges.

Examples

1
2
3
data(D4_multi_1)
Net = kboost(D4_multi_1)
dist = net_dist_bin(Net$GRN,Net$TFs,0.1)

Luisiglm/KBoost documentation built on May 13, 2021, 7:27 p.m.