write_jplace {BoSSA} | R Documentation |
Write a jplace or pplace object to the disk
Description
Write a jplace or pplace object to the disk in the jplace JSON format
Usage
write_jplace(x,outfile)
Arguments
x |
A pplace or jplace object |
outfile |
The name of the output file |
Note
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).
Author(s)
pierre lefeuvre
Examples
data(pplace)
## Not run:
write_jplace(pplace,"test.jplace")
## End(Not run)
[Package BoSSA version 3.7 Index]