Dear Joses,
Thanks for your interest in these tools.
> On 4 Aug 2015, at 08:17, Joses Ho <
jose...@gmail.com> wrote:
>
> I'm trying to plot some of the Flycircuit neurons (from the NBLAST supporting info), and some of these neurons are flipped.
Just to clarify, when you say flipped, do you mean wrt the original stack? In theory all neurons in the processed dataset should have their cell body on the fly's left. Borderline cases near the midline were resolved by looking at the location of the presumptive dendrites. See fig 1 of paper for details. If you found sthg different perhaps you could let me know the ids.
> How do I get them to plot in the correct hemisphere?
For this you need the nat.templatebrains package available for install from
github.com/jefferislab/nat.templatebrains (you may already have it).
Then the basic usage is:
mirroredneurons=mirror_brain(someneurons, FCWB)
However there is a wrinkle. The FCWB template is almost but not perfectly symmetric. Non-rigid mirroring (the default) to correct this depends on installation of the CMTK registration suite available from the nitrc website. You should do this before loading the nat.template brains library in R.
Otherwise you can use a plain flip only. See the arguments for the mirror function called by mirror_brain function.
?mirror
For more information about the mirroring registration see
http://bit.ly/flybrains although note that website is not quite complete at the time of writing.
Finally if this is not enough to get you going, please send a small piece of example code with some neurons you are trying to plot.
Best wishes,
Greg.