nat
nat copied to clipboard
fix bug in matching by first column
This change in #467 introduced a subtle bug:
https://github.com/natverse/nat/blob/49d578d65c5290ad7b2e31c9bb5984c7c2126991/R/neuronlist.R#L301
If the first column of the incoming dataframe is numeric then intersect(nn, value[,1])
will be numeric as well, which will cause indexing to fail.