Write Sequoia Output to File
The various list elements returned by sequoia
are each
written to text files in the specified folder, or to separate sheets in a
single excel file (requires library xlsx).
writeSeq( SeqList, GenoM = NULL, MaybeRel = NULL, PedComp = NULL, OutFormat = "txt", folder = "Sequoia-OUT", file = "Sequoia-OUT.xlsx", ForVersion = 2, quiet = FALSE )
SeqList |
list returned by |
GenoM |
matrix with genetic data (optional). Ignored if OutFormat='xls', as the resulting file could become too large for excel. |
MaybeRel |
list with results from |
PedComp |
list with results from |
OutFormat |
'xls' or 'txt'. |
folder |
the directory where the text files will be written; will be
created if it does not already exists. Relative to the current working
directory, or NULL for current working directory. Ignored if
|
file |
the name of the excel file to write to, ignored if
|
ForVersion |
choose '1' for back-compatibility with stand-alone sequoia versions 1.x |
quiet |
suppress messages. |
The text files can be used as input for the stand-alone Fortran
version of sequoia, e.g. when the genotype data is too large for R. See
vignette('sequoia')
for further details.
writeColumns
to write to a text file, using white
space padding to keep columns aligned.
## Not run: writeSeq(SeqList, OutFormat="xls", file="MyFile.xlsx") # add additional sheets to the excel file: library(xlsx) write.xlsx(MyData, file = "MyFile.xlsx", sheetName="ExtraData", col.names=TRUE, row.names=FALSE, append=TRUE, showNA=FALSE) ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.