Description Usage Arguments Value See Also Examples
Write a GCT object to disk in GCTX format
1 2 3 4 5 6 7 8 9 10 | write.gctx(...)
write_gctx(
ds,
ofile,
appenddim = TRUE,
compression_level = 0,
matrix_only = FALSE,
max_chunk_kb = 1024
)
|
... |
arguments passed on to |
ds |
a GCT object |
ofile |
the desired file path for writing |
appenddim |
boolean indicating whether the resulting filename will have dimensions appended (e.g. my_file_n384x978.gctx) |
compression_level |
integer between 1-9 indicating how much to compress data before writing. Higher values result in smaller files but slower read times. |
matrix_only |
boolean indicating whether to write only the matrix data (and skip row, column annotations) |
max_chunk_kb |
for chunking, the maximum number of KB a given chunk will occupy |
silently returns NULL
Other GCTX parsing functions:
GCT
,
append.dim()
,
fix.datatypes()
,
parse.gctx()
,
process_ids()
,
read.gctx.ids()
,
read.gctx.meta()
,
write.gctx.meta()
,
write.gct()
1 2 | # note this will create a GCT file in your current directory
write_gctx(ds, "dataset")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.