Learn R Programming

NetRep (version 1.0.2)

NetPropsNoData: Calculate the network properties, data matrix not provided

Description

Calculate the network properties, data matrix not provided

Usage

NetPropsNoData(net, moduleAssignments, modules)

Arguments

net
adjacency matrix of network edge weights between all pairs of nodes in the dataset in which to calculate the network properties.
moduleAssignments
a named character vector containing the module each node belongs to in the discovery dataset.
modules
a character vector of modules for which to calculate the network properties for.

Value

a list containing the summary profile, node contribution, module coherence, weighted degree, and average edge weight for each 'module'.

Details

Input expectations: Note that this function expects all inputs to be sensible, as checked by the R function 'checkUserInput' and processed by 'networkProperties'. These requirements are:
  • 'net' is a square matrix, and its rownames are identical to its column names.
  • 'moduleAssigments' is a named character vector, where the names represent node labels found in the discovery dataset. Unlike 'PermutationProcedure', these may include nodes that are not present in 'data' and 'net'.
  • The module labels specified in 'modules' must occur in 'moduleAssignments'.