Skip to contents

Selects an optimal covariance matrix through Path BIC Selection.

Usage

covarianceSelectionPath(S, rankedEdges, numberObservations, n)

Arguments

S

Required. An expression matrix

rankedEdges

Required. An edge list in the form of a matrix where column one is gene one and column 2 is gene two

numberObservations

Required. The number of samples comprising the network (?)

n

Optional. Start at the first edge in `rankedEdges` (Default = 1)

Value

A list containg

  • `bic` Estimated BIC.

  • `bicmin` Lowest Estimated BIC.

  • `w` The covariance matrix.

  • `wi` The inverse covariance matrix.