Description Usage Arguments Note Author(s) Examples
Write a jplace or pplace object to the disk in the jplace JSON format
1 | write_jplace(x,outfile)
|
x |
A pplace or jplace object |
outfile |
The name of the output file |
Note that the placement mass (potentially) available from the original files are imported into R but aren't use in the analysis. Anyway, the write_jplace function takes into account possible weight/mass information available in the the "nm" column of the multiclass table for jplace objects and in the "mass" column from the placement_names table for the pplace objects. The values in these column can be edited before writing the jplace file if one want to use distinct mass/weight in downtstream analysis (e.g. using the guppy program functionalities).
pierre lefeuvre
1 2 3 4 5 | data(pplace)
## Not run:
write_jplace(pplace,"test.jplace")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.