Skip to contents

This introduces sparsity into a data frame or matrix with increasing frequency as the `nedges` parameter is specified

Usage

arbitrarySparsity(nedges, network)

Arguments

nedges

Required. Edges parameter to increase sparsity.

network

Required. A matrix or data frame of gene expression

Value

a logical matrix of TRUE/FALSE where True indicates sparsity