Skip to content

Type summary function #67

@dosumis

Description

@dosumis

Aim: Given a list of Individuals or Classes, provide a summary of the classes present

example

from vfb_connect.cross_server_tools import VfbConnect
vc = VfbConnect()

visPN2DC = vc.get_connected_neurons_by_type(upstream_type='visual projection neuron',
                                 downstream_type='adult descending neuron',
                                 weight=10).sort_values('weight', ascending=False)

Histogram of types returned includes leaf nodes and subsuming classes, e.g. LC4, 14, 9 and 10 are subsumed by 'lobular columnar neuron'

image

In this case, all cells are subclasses of 'visual projection neuron' - so mapping up to that class would tell us nothing - but mapping up to a class below 'adult visual projection neuron' would be useful:

image

The problem, of course, is how we specify what classes we should map up to? We could allow user input of such classes, but I think that would be asking too much of our users. Is there an algorithm we can apply which selects some informative/representative set of subsuming classes to map up to? Maybe something that could take some tuning variable specifying degree of abstraction?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions