Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix bug (noticed w malecns) when correct rois not fetched #165

Merged
merged 1 commit into from
Nov 15, 2022

Conversation

jefferis
Copy link
Contributor

  • just need to pass on the connection

* just need to pass on the connection
@jefferis
Copy link
Contributor Author

@mmc46 noted:

nlr_da1_cns_out = neuprint_connection_table(c(10075,11780), partners = "outputs", by.roi = T, conn = cnsc, details = T, superLevel = F)

nlr_da1_cns_out %>% count(bodyid, roi, wt = ROIweight)
  bodyid     roi    n
1  10075   AL(L) 2154
2  10075   CA(L)  776
3  10075  SCL(L)    6
4  11780   AL(R) 1561
5  11780 AVLP(R)   18
6  11780   CA(R)  650
7  11780   LH(R) 2534
8  11780  SCL(R)    1

# checking directly
nlr_da1_cns_out %>% 
filter(bodyid == 10075 & roi == "LH(L)")
[1] bodyid    partner   prepost   weight    name      type      roi       ROIweight
<0 rows> (or 0-length row.names)

@jefferis jefferis merged commit 1eb9249 into master Nov 15, 2022
@jefferis jefferis deleted the fix/connection-table-rois branch November 15, 2022 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant