> library(lhns)
> simplify_neuron(most.lhns[['fru-F-400011']])
Error in apply(dd[bps_available, ], 2, min, na.rm = T) :
dim(X) must have a positive length
This looks like a classic issue where R drops dimensions / names when there is only one item on one dimension of a 2d array (which happens when the spine contains only 1 branchpoint).
This looks like a classic issue where R drops dimensions / names when there is only one item on one dimension of a 2d array (which happens when the spine contains only 1 branchpoint).