Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not plotting soma after converting to dotprops #88

Open
mmc46 opened this issue Dec 6, 2017 · 3 comments
Open

Not plotting soma after converting to dotprops #88

mmc46 opened this issue Dec 6, 2017 · 3 comments

Comments

@mmc46
Copy link
Contributor

mmc46 commented Dec 6, 2017

The soma isn't plotted after converting the neurons to dotprops. Could this be changed?

dl1rsk=catmaid_skids('annotation:glomerulus DL1 right')
dl1rnmirr=fetchn_fafb(dl1rsk, reference = FCWB, mirror = T)
dl1rnmirr.dps=dotprops(x=dl1rnmirr, resample=1, k=5)
open3d()
plot3d(dl1rnmirr, soma=T)
clear3d()
plot3d(dl1rnmirr.dps, soma=T)
@jefferis
Copy link
Collaborator

jefferis commented Dec 6, 2017

The problem is that the dotprops format has no direct support for plotting cell bodies. It's retrofitted by allowing the metadata data frame attached to a neuronlist to have X,Y,Z columns specifying the soma position.

Presumably you don't want it to plot the soma if there isn't one defined by a soma tag in catmaid?

@mmc46
Copy link
Contributor Author

mmc46 commented Dec 6, 2017

No, not if there isn't one, but these do.
I can plot them separately, if there's no easy fix.

@jefferis
Copy link
Collaborator

jefferis commented Dec 6, 2017

This would require changes in nat and rcatmaid, which I have been pondering for a while since the design isn't really obvious. Part of the implementation is discussed here natverse/nat#260

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants