graph.params2qpGraphFiles: Generate files for the qpGraph software from a graph.params...

View source: R/graph.params2qpGraphFiles.R

graph.params2qpGraphFilesR Documentation

Generate files for the qpGraph software from a graph.params object

Description

Generate files for the qpGraph software from a graph.params object

Usage

graph.params2qpGraphFiles(
  graph.params,
  outfileprefix = "out",
  n.printed.dec = 4,
  verbose = TRUE
)

Arguments

graph.params

An object of class graph.params containing graph information with Fstats information (see the function generate.graph.params)

outfileprefix

The prefix of the qpGraph files

n.printed.dec

Number of decimal to be printed (if not enough may lead to fatalx error in qpGraph)

verbose

If TRUE extra information is printed on the terminal

Details

This function generates the three files required by qpGraph: i) a file named outfileprefix.graph containing the graph in appropriate format; ii) a file named outfileprefix.fstats file containing the fstats estimates of fstats (and their covariance); iii) a file named outfileprefix.parqpGraph containing essential parameter information to run qpGraph (this may be edited by hand if other options are needed). The qpGraph software may then be run using the following options -p outfileprefix.parqpGraph -g outfileprefix.graph -o out.ggg -d out.dot.

Value

The three files described in the details section

See Also

To generate graph.params object, see generate.graph.params


poolfstat documentation built on Sept. 8, 2023, 5:49 p.m.