Check equality on key fields of neuron object
# S3 method for neuron all.equal(target, current, tolerance = 1e-06, check.attributes = FALSE, fieldsToCheck = c("NumPoints", "StartPoint", "BranchPoints", "EndPoints", "NumSegs", "SegList", "d"), fieldsToCheckIfPresent = c("NeuronName", "nTrees", "SubTrees"), fieldsToExclude = character(), CheckSharedFieldsOnly = FALSE, ...)
| target | R object. |
|---|---|
| current | other R object, to be compared with |
| tolerance | numeric \(\ge\) 0. Differences smaller than
|
| check.attributes | logical indicating if the
|
| fieldsToCheck | Which fields in the neuron are always checked. The
special value of |
| fieldsToCheckIfPresent | These fields are only checked if they are present |
| fieldsToExclude | Character vector of fields to exclude from check |
| CheckSharedFieldsOnly | Logical whether to check shared fields only (default: FALSE) |
| ... | additional arguments passed to |
#> [1] "Component “NeuronName”: 1 string mismatch"#> [1] TRUE