neuprint_ROI_mesh: Download a region of interest as a 3D mesh

View source: R/roi.R

neuprint_ROI_meshR Documentation

Download a region of interest as a 3D mesh

Description

Download a region of interest as a 3D mesh

Usage

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

See Also

neuprint_ROIs, neuprint_ROI_hierarchy

Examples


ALR=neuprint_ROI_mesh('AL(R)', dataset='hemibrain:v1.2.1')

## Not run: 
library(nat)
ALR
shade3d(ALR, col='grey')

## End(Not run)

natverse/neuprintr documentation built on Sept. 15, 2023, 6:59 a.m.