Description Usage Arguments Value References See Also Examples
Write a biom-format v1 file, returning a biom-class
.
1 | write_biom(x, biom_file)
|
x |
(Required). A biom object that is going to be written to file as a proper biom formatted file, adhering to the biom-format definition. |
biom_file |
(Required). A character string indicating the file location of the biom formatted file. This is a JSON formatted file specific to biological datasets. The format is formally defined at the biom-format definition |
Nothing. The first argument, x
, is written to a file.
Function to create a biom object from R data,
make_biom
.
Definition of the
biom-class
.
The read_biom
import function.
Accessor functions like header
.
1 2 3 4 5 6 | biom_file <- system.file("extdata", "rich_sparse_otu_table.biom", package = "biomformat")
x = read_biom(biom_file)
outfile = tempfile()
write_biom(x, outfile)
y = read_biom(outfile)
identical(x, y)
|
[1] FALSE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.