score.nodes: Scores Nodes From Regulator Discovery

View source: R/score.nodes.R

score.nodesR Documentation

Scores Nodes From Regulator Discovery

Description

Function to scores results of regulator scoring analysis.

Usage

score.nodes(g, G, h = 3, mode = "all")

Arguments

g

Required. An igraph object with n vertices

G

Required. A named vector of node scores.

h

Optional. Neighborhood search distance (h nodes away from current node) (Default = 3)

mode

Optional. One of c("all", "out", "in", "total"). Character string, "out" for out-degree, "in" for in-degree or "all" for the sum of the two. For undirected graphs this argument is ignored. (Default = 'all')

Value

node.scores = n x 1 dimensional vector of node scores based on its neighborhood


blogsdon/metanetwork documentation built on April 27, 2022, 3:53 p.m.