write.qtlnet {qtlnet} | R Documentation |
write qtlnet as text file
Description
Write resulting graph as text file
Usage
write.qtlnet(x, filename, edges, loci.list, include.qtl = TRUE,
est.list, include.est = TRUE,
digits = 3, col.names = TRUE, ...)
Arguments
x |
Object of class |
filename |
Character string with name of text file (usually ends in |
edges |
Data frame with first two columns being |
loci.list |
List of character names of loci by phenotype. Typically determined by
call to |
include.qtl |
Include QTL in graph if |
est.list |
List of estimates from internal est.qtlnet? |
include.est |
Include estimate if |
digits |
Number of significant digits for |
col.names |
Character vector of column names. |
... |
Additional arguments passed to called routines. |
Details
Simple write of causal network, for instance to use with Cytoscape.
Value
Invisibly returns data frame that corresponds to saved file.
Author(s)
Brian S. Yandell and Elias Chaibub Neto
References
Chaibub Neto E, Keller MP, Attie AD, Yandell BS (2010) Causal Graphical Models in Systems Genetics: a unified framework for joint inference of causal network and genetic architecture for correlated phenotypes. Ann Appl Statist 4: 320-339. http://www.stat.wisc.edu/~yandell/doc/2010/92.AnnApplStat.pdf
See Also
Examples
## Not run:
write.qtlnet(Pscdbp.qtlnet, "Pscdbp.txt")
## End(Not run)