Download a region of interest as a 3D mesh

neuprint_ROI_mesh(roi, dataset = NULL, conn = NULL, ...)

Arguments

roi

region of interest for a dataset

dataset

optional, a dataset you want to query. If NULL, the default specified by your R environ file is used or, failing that the current connection, is used. See neuprint_login for details.

conn

optional, a neuprintr connection object, which also specifies the neuPrint server. If NULL, the defaults set in your .Rprofile or .Renviron are used. See neuprint_login for details.

...

methods passed to neuprint_login

Value

a mesh3d object

Examples

# \donttest{
ALR=neuprint_ROI_mesh('AL(R)', dataset='hemibrain:v1.2.1')
# }
if (FALSE) { # \dontrun{
library(nat)
ALR
shade3d(ALR, col='grey')
} # }