Skip to content

Commit

Permalink
Updated for fixing duplicate columns in the output of neuprint_find_n…
Browse files Browse the repository at this point in the history
…eurons.
  • Loading branch information
SridharJagannathan committed Feb 14, 2020
1 parent 3bf0f9e commit 7c2ec67
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/connectivity.R
Original file line number Diff line number Diff line change
Expand Up @@ -472,6 +472,7 @@ extract_connectivity_df <- function(rois, json){
}
a <- unlist(jsonlite::fromJSON(json))
values <- data.frame(row.names = 1)
rois <- unique(rois) #this takes care if both the input and output ROIs are same..
for(roi in rois){
d <- data.frame(0,0)
colnames(d) <- paste0(roi,c(".pre",".post"))
Expand Down

0 comments on commit 7c2ec67

Please sign in to comment.