permutateNodes: Permute node labels

Description Usage Arguments Value Author(s) Examples

View source: R/Graph.R

Description

Function to permutate node labels of a given network.

Usage

1
permutateNodes(network)

Arguments

network

Network in graphNEL or igraph format.

Value

Network with permutated labels.

Author(s)

Marcus Dittrich

Examples

1
2
3
4
5
6
library(DLBCL)
data(interactome)
# remove self-loops before permutating the labels
interactome <- rmSelfLoops(interactome)
perm.net <- permutateNodes(interactome)
perm.net

BioNet documentation built on Nov. 8, 2020, 5:48 p.m.