Learn R Programming

backbone (version 2.0.3)

hyperg: Wrapper for fixedrow()

Description

Wrapper for fixedrow()

Usage

hyperg(
  B,
  alpha = 0.05,
  signed = FALSE,
  mtc = "none",
  class = "original",
  narrative = FALSE
)

Arguments

B

An unweighted bipartite graph, as: (1) an incidence matrix in the form of a matrix or sparse Matrix; (2) an edgelist in the form of a two-column dataframe; (3) an igraph object; (4) a network object. Any rows and columns of the associated bipartite matrix that contain only zeros are automatically removed before computations.

alpha

Real: significance level of hypothesis test(s)

signed

Boolean: TRUE if signed backbone is to be returned, FALSE if binary backbone is to be returned

mtc

string: type of Multiple Test Correction to be applied; can be any method allowed by p.adjust.

class

string: the class of the returned backbone graph, one of c("original", "matrix", "sparseMatrix", "igraph", "network", "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.