xyz2swc_check | R Documentation |
This function sends SWC files to NeuroMorpho.org so that it can check if those SWC files are in the standard format using its xyz2swc tool. The user gets a data frame describing, for each file, any errors it contains.
xyz2swc_check(
source_dir = NULL,
source_file = NULL,
neuromorpho_url = "https://neuromorpho.org",
...
)
source_dir |
A character string specifying the directory where the source SWC files are located. |
source_file |
A character string specifying the full path to a single source SWC file. |
neuromorpho_url |
A character string specifying the URL for the NeuroMorpho.org website (default is "https://neuromorpho.org"). |
... |
Additional arguments. |
A data frame containing a description of any errors in the SWC files.
xyz2swc_convert
for a function to convert into standard SWC files.
## Not run:
# check a single file
xyz2swc_check(source_file = "path/to/file.swc")
# check all files in a directory
xyz2swc_check(source_dir = "path/to/directory/")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.