universal {backbone}R Documentation

Wrapper for global()

Description

Wrapper for global()

Usage

universal(
  W,
  upper = 0,
  lower = NULL,
  keepzeros = TRUE,
  class = "original",
  narrative = FALSE
)

Arguments

W

A weighted unipartite graph, as: (1) an adjacency matrix in the form of a matrix or sparse Matrix, or dataframe; (2) an edgelist in the form of a three-column dataframe; (3) an igraph object.

upper

Real, FUN, or NULL: upper threshold value or function that evaluates to an upper threshold value.

lower

Real, FUN, or NULL: lower threshold value or function that evaluates to a lower threshold value.

keepzeros

Boolean: TRUE if zero-weight edges in M should be missing in the backbone

class

string: the class of the returned backbone graph, one of c("original", "matrix", "Matrix", "igraph", "edgelist"). If "original", the backbone graph returned is of the same class as B.

narrative

Boolean: TRUE if suggested text for a manuscript is to be returned


[Package backbone version 2.1.0 Index]