Skip to contents

Read neurons from VFB, optionally using a query

Usage

read.neurons.vfb(x, template = "JRC2018Unisex", ...)

Arguments

x

VFB ids or a query passed to get_instances

template

A string describing a valid VFB template brain

...

Additional arguments passed to read.neurons

Value

A neuronlist object as returned by read.neurons.

Examples

# \donttest{
oavpm3=read.neurons.vfb("octopaminergic VPM3 neuron")
#> Warning: RGL: unable to open X11 display
#> Warning: 'rgl.init' failed, running with 'rgl.useNULL = TRUE'.
#> Registered S3 method overwritten by 'nat':
#>   method             from
#>   as.mesh3d.ashape3d rgl 
oavpm3[,c('label','dataset', 'id')]
#>                                                                             label
#> OA_VPM3_NO2_NO3__L__FlyEM_HB_5813061260_ OA-VPM3(NO2/NO3)_L (FlyEM-HB:5813061260)
#> OA_VPM3_NO2_NO3__R__FlyEM_HB_329566174_                    OA-VPM3 (FAFB:1329078)
#> OA_VPM3__FAFB_1329078_                    OA-VPM3(NO2/NO3)_R (FlyEM-HB:329566174)
#>                                                        dataset           id
#> OA_VPM3_NO2_NO3__L__FlyEM_HB_5813061260_ Xu2020NeuronsV1point1 VFB_jrchk10e
#> OA_VPM3_NO2_NO3__R__FlyEM_HB_329566174_              Sayin2019 VFB_001001dr
#> OA_VPM3__FAFB_1329078_                   Xu2020NeuronsV1point1 VFB_jrchk10d
# }

if (FALSE) { # \dontrun{
library(nat)
# colour by dataset of origin
plot3d(oavpm3, col=dataset)
} # }