get_nEdges: Get the number of a edges in a graph, given a desired density

View source: R/fct_edge_testing.R

get_nEdgesR Documentation

Get the number of a edges in a graph, given a desired density

Description

Returns the number of edges of a Gene Regulatory Network from its density.

Usage

get_nEdges(density, nGenes, nRegulators)

Arguments

density

network density (usually between 0.001 and 0.1)

nGenes

total number of genes

nRegulators

number of genes that are regulators

Value

number of edges

Examples

get_nEdges(density = 0.01, nGenes = 200, nRegulators = 21)

OceaneCsn/DIANE documentation built on Jan. 10, 2024, 6:43 p.m.