Difficulty with the neuron ROI property

24 views
Skip to first unread message

Peter Jenny

unread,
Jun 29, 2022, 1:36:03 PM6/29/22
to neuPrint
Hi,

I'm trying to construct a custom query that will show any neurons with cell bodies in the AOTU with direct connections to either s-LNV or l-LNV neurons. I'm running into difficulty though because the AOTU region is listed as AOTU(R) in neuPrint. 

For a simple example of the issue I'm having, take this query:

MATCH (b:Neuron)
WHERE b.AOTU(R) = true
RETURN b.type

This produces the error "Variable `R` not defined (line 2, column 6 (offset: 42)"
Dropping the parentheses doesn't seem to lead to a defined region (no cells are found), and same with dropping the R altogether.

I have also tried escaping special characters with backslashes, as follows:

MATCH (b:Neuron)
WHERE b.AOTU\\(R\\) = true
RETURN b.type

This produces the error "Invalid input '\': expected an identifier character"

I'm sure there's a simple workaround for this, or that I'm doing something incorrectly, but I haven't been able to find what it is. Any help would be appreciated.

Thanks!

Pratyush Kandimalla

unread,
Jun 29, 2022, 2:28:19 PM6/29/22
to neuPrint
Hi,

ROI names need a back-tic. The following update to your query pulls neurons with innervation in the AOTU(R).

MATCH (b:Neuron)
WHERE b.`AOTU(R)`
RETURN b.type

Hope this helps.
Reply all
Reply to author
Forward
0 new messages