natverse / neuprintr

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

neuprint_connection_table() and neuprint_simple_connectivity() return different partner sets. #104

Closed AsaBarthMaron closed 4 years ago

AsaBarthMaron commented 4 years ago

I get different sets of connected partners when I query a bodyid using these two fns, but can't figure out why. E.g., neuprint_connection_table(1547454812) returns 647 partners neuprint_simple_connectivity(1547454812) returns 1146 partners

romainFr commented 4 years ago

This is because by default neuprint_connection_table only returns objects that have been identified as "neurons", whereas neuprint_simple_connectivity returns everything -- including small unidentified fragments. In neuprint_connection_table you'd get the same results by using the parameter all_segments=TRUE.

jefferis commented 4 years ago
> dim(neuprint_connection_table(1547454812,all_segments = T))
[1] 1146    4
AsaBarthMaron commented 4 years ago

Gotcha, thanks!

jefferis commented 4 years ago

Thanks for your interest @AsaBarthMaron. If you have any general queries about using neuprintr/natverse https://groups.google.com/forum/#!forum/nat-user is a good place to ask questions.