natverse / neuprintr

R client utilities for interacting with the neuPrint connectome analysis service
http://natverse.org/neuprintr
3 stars 3 forks source link

Duplicate columns in output of neuprint_find_neurons #81

Closed SridharJagannathan closed 4 years ago

SridharJagannathan commented 4 years ago

Duplicate columns in output of neuprint_find_neurons

AL_neurons=neuprint_find_neurons(input_ROIs = "AL(R)", output_ROIs ="AL(R)")
> head(AL_neurons)
             bodyid            bodyname                  bodytype neuronStatus       size npre npost
294792184 294792184      mlPN2(AVM04)_R olfactory multi vPN mlALT       Traced  420662445   93   344
329566174 329566174  OA-VPM3(NO2/NO3)_R                   OA-VPM3       Traced 6840451191 8568  9998
329599710 329599710       mPNX(AVM06)_R olfactory multi lvPN mALT       Traced  339385459  244   271
417199910 417199910       mPNX(AVM06)_R olfactory multi lvPN mALT       Traced  380278767  162   308
420274150 420274150 AVM03m_pct(AVM03)_R                AVM03m_pct       Traced 1402341169  912   841
424379864 424379864 AVM03e_pct(AVM03)_R                AVM03e_pct       Traced 1338354844 1066   809
          AL(R).pre AL(R).post AL(R).pre AL(R).post
294792184         1        162         1        162
329566174         7          2         7          2
329599710        63        171        63        171
417199910         6        210         6        210
420274150         0          1         0          1
424379864         0          7         0          7

You can see that AL(R).pre and AL(R).post are duplicated.

SridharJagannathan commented 4 years ago

@jefferis Sorry I forgot to make a branch but instead made a commit on the master (https://github.com/natverse/neuprintr/commit/7c2ec67358a8059684cfdc36dff821a4e3e86026) for resolving this issue.

jefferis commented 4 years ago

Thanks @SridharJagannathan!