randomize_complete_network_source_specific: Randomize an integrated network by shuffling its source...

View source: R/construct_random_networks.R

randomize_complete_network_source_specificR Documentation

Randomize an integrated network by shuffling its source networks

Description

randomize_complete_network_source_specific Randomizes an integrated network of interest by edge swapping in the source-specific networks to preserve the degree of the nodes

Usage

randomize_complete_network_source_specific(network)

Arguments

network

A data frame / tibble containing gene-gene interactions (required columns: $from, $to, $source)

Value

A randomized network ($from, $to, $source).

Examples

## Not run: 
random_lr = randomize_complete_network_source_specific(lr_network)

## End(Not run)


saeyslab/nichenetr documentation built on April 27, 2024, 9:24 p.m.