edgeRank: Assign weights to edges

Description Usage Arguments Details Value Author(s) Examples

Description

Assign weights to edges by summing the ranks of the two connected nodes

Usage

1
edgeRank(pg, g, cutoff, min, reverse)

Arguments

pg

Vector contains sorted gene names. Highly ranked genes are ordered firstly if they are returned from pageRank.

g

An igraph network object which consists the gene names.

min

Minimum scores assigned to the low ranking genes.

cutoff

A numeric value between 0 and 1 indicating the percentage of genes are considered as low ranking / discarded.

reverse

Logical indicating the order of the list. TRUE means highly ranked genes are ordered firstly, otherwise FALSE.

Details

This function prepares the weighted network according to the gene ranks for further clustering.

Value

An igraph network object with weights assigned to the edges.

Author(s)

Qi Wang

Examples

1
2
3
data(hprd)
data(sample)
g <- edgeRank(res$pg, hprd, cutoff=0.9, min=1e-7)

qwang-big/irene documentation built on May 23, 2019, 1:47 p.m.