R/xyz2swc.R
xyz2swc_check.Rd
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",
...
)
A character string specifying the directory where the source SWC files are located.
A character string specifying the full path to a single source SWC file.
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.
if (FALSE) {
# 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/")
}