net_dist_bin {KBoost}R Documentation

Function to calculate the distance between nodes.

Description

Function to calculate the distance between nodes.

Usage

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

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


[Package KBoost version 1.2.0 Index]