View source: R/TidySet.write-function.R
TidySet.write | R Documentation |
This function write multiple files archived by tar with gzip compression from a TidySet.
TidySet.write(tidy_set, path)
tidy_set |
TidySet, an ExpressionSet with three tables. |
path |
A character of .ts.tar.gz file path (do not include file extension). |
output A .ts.tar.gz file containing exprs.csv, pData.csv,
fData.csv, similarity.csv, ontology.csv, and others.txt. Function of
TidySet.read
can read this file back to a TidySet.
## Create input example
input=utils.example()
## Compile input to a TidySet
tidy_set=
TidySet.compile(
value=input$value
,outcome=input$outcome
,similarity=input$similarity
,mapping=input$mapping
,ontology=input$ontology
)
## Write a .ts.tar.gz file from a TidySet
write_tidy_set(tidy_set,'example')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.