graph2prec: Convert a symmetric graph (extension of R matrix class)

Description Usage Arguments

View source: R/community_graph.R

Description

Has internal rules for converting various graph topologies into the associated adjancency and, therefore, precision matrix

Usage

1
2
graph2prec(Graph, posThetaLims = c(2, 3), negThetaLims = -posThetaLims,
  targetCondition = 100, epsBin = 0.01, numBinSearch = 100)

Arguments

Graph

graph adjacency matrix

posThetaLims

length 2 vector of lower and upper bound of positive values

negThetaLims

length 2 vector of lower and upper bound of negative values

targetCondition

sets the condition of the precision matrix by modulating the magnitude of the diagonal

epsBin

the convergence tolerance of the condition number binary search

numBinSearch

maximum number of iterations


zdk123/SpiecEasi documentation built on Oct. 1, 2018, 2:12 p.m.