jannoS3 | R Documentation |
The janno S3 class provides a data structure derived from tibble to represent the content of Poseidon .janno files in R.
as.janno(x, source_janno_file = NA_character_, ...)
## S3 method for class 'janno'
format(x, ...)
## S3 method for class 'janno'
print(x, only_header = FALSE, ...)
read_janno(path, to_janno = TRUE, validate = TRUE)
validate_janno(path)
write_janno(x, path, remove_source_file_column = TRUE)
flatten_janno(x)
x |
an object |
source_janno_file |
character. Path to the source .janno file. |
... |
further arguments passed to or from other methods |
only_header |
logical. Should only the header be printed. |
path |
character vector. Paths to one or multiple .janno files or directories that should be recursively searched for .janno files |
to_janno |
logical. Should the read function transform the input file to a janno object |
validate |
logical. Run the file validation as part of the reading process |
remove_source_file_column |
Should the special column source_file be removed from the janno object before writing? |
flatten_janno
transforms list columns to string lists (separated by ;)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.