is.swc | R Documentation |
Test if a file is an SWC format neuron
is.swc(f, TrustSuffix = TRUE)
f |
Path to one or more files |
TrustSuffix |
Whether to trust that a file ending in .nrrd or .nhdr is a NRRD |
Note that this test is somewhat expensive compared with the other file tests since SWC files do not have a consistent magic value. It therefore often has to read and parse the first few lines of the file in order to determine whether they are consistent with the SWC format.
logical value
read.neuron
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.