Closed mmc46 closed 1 year ago
When a bodyid doesn't have input or output connections, there's an error when trying to use by.roi = T.
by.roi = T
library(neuprintr) #> Registered S3 method overwritten by 'nat': #> method from #> as.mesh3d.ashape3d rgl neuprint_connection_table(15059, partners = "outputs", conn = malevnc::manc_neuprint()) #> [1] bodyid partner prepost weight #> <0 rows> (or 0-length row.names) neuprint_connection_table(15059, partners = "outputs", by.roi = T, conn = malevnc::manc_neuprint()) #> Error in nc$data[sapply(nc$data, function(x) !is.null(x[[roicol]]))]: invalid subscript type 'list'
When a bodyid doesn't have input or output connections, there's an error when trying to use
by.roi = T
.