Description Usage Arguments Examples
View source: R/Cube-Auxiliary.R
Export a cube as multiple .csv files (one for each genotype; slices of z-axis). This function will create the directory if it doesn't exist. Files are stored as slice_(z-slice)_(genotype).csv
1 | cube2csv(cube, directory, digits = 3)
|
cube |
A cube object (see |
directory |
Directory to write .csv files to |
digits |
Number of significant digits to retain in .csv output |
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
# output directory
oPath <- "path/to/write/output"
# setup inheritance cube for export, using Mendelian as the example
cube <- cubeMendelian()
# write out
cube2csv(cube = cube, directory = oPath, digits = 3)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.