Dear Joses,
> On 13 Aug 2015, at 04:40, Joses Ho <
jose...@gmail.com> wrote:
>
> However now I am interested in importing the results of the AnalyzeSkeleton plugin (is CSV format) into NAT. Is this possible?
One option is to import the image as generated by Skeletonize 3d (the step before AnalyzeSkeleton) as a dotprops object. This will be perfect for NBLAST and also works fine for visualisation. To do this,
1. from Fiji save your skeletonised image as a Nrrd file
2. Be sure to hold down the Alt (or Option) key to save in compressed format (which will be tiny)
3. From R call dotprops with the name of your nrrd file.
Two tweaks I would recommend.
1. Downsample the input image to roughly 1um isotropic voxels before skeletonisation.
2. Add k=5 as an extra argument to the call to dotprops to reduce the number of nearest neighbours used to calculate the tangent vectors.
Finally if you do want to import the csv format as either a fully connected tree (neuron object) or a vector cloud (dotprops object), that will not be hard, but please post a sample csv file eg as a GitHub gist and I can respond with a code snippet.
Best,
Greg.