mouselight_neuron_info: Query available neurons from MouseLight site

Description Usage Arguments Details Value See Also Examples

View source: R/query.R

Description

Query tracings for neurons, and/or neuron soma locations, from the MouseLight Neuron Browser. Each neuron may have multiple tracgings, typically one for its axon and another for its dendrite.

Usage

1
2
3

Arguments

simplify

whether to simplify the query result to a simple data.frame with one row per tracing (See details).

Details

Mouselight neurons typically consist of two separate tracings, one for the axon and one for the dendrites. When simplify=TRUE (the default) the output is a flattened data frame with one row for every tracing. When simplify=FALSE there is one row per neuron, but the data.frame contains nested data frames with per tracing information.

The identifier which you will need to download a neuron with mouselight_read_neurons is stored in column

Value

data.frame describing the available neurons. See details for the implication of the simplify argument.

See Also

mouselight_read_brain, mouselight_brain_region_info

Examples

1
2
3
4
5
6
7
ndf=mouselight_neuron_info()
# How many tracings per neurons?
table(table(ndf$neuron.id))

# In what brain regions do neurons have their end points?
br_search = mouselight_neurons_by_brain_region("dendrite")
View(br_search)

natverse/mouselightr documentation built on July 6, 2020, 2:09 p.m.