Hi Chris,
In brief, start R,
# load the nat package
library(nat)
# load MyNeurons
load(url("
http://flybrain.mrc-lmb.cam.ac.uk/si/grosjean11/MyNeuronsFCIR.rda"))
# read in your amira neurons
new_neurons=read.neurons("/dir/containing/my/neurons")
MyNeurons=c(MyNeurons,new_neurons)
The only tricky bit is adding a data.frame containing useful metadata
You could do something like this:
newdf=read.table(text="
Glomerulus Sex PNType source
DA1 M iPN Potter2015
DL1 F iPN Potter2015", head=T)
or make a spreadsheet e.g. in Excel, save as .csv and use read.csv
newdf=read.csv("sample_metadata.csv", row.names="File")
There must be one entry per tracing file - see attached for an example.
Then you need to do:
new_neurons=read.neurons("/dir/containing/my/neurons", df=newdf)
MyNeurons=c(MyNeurons,new_neurons)
Best,
Greg.
PS we've just started a google group to help with this kind of thing and
I've taken the liberty of forwarding this response since it may be
useful to others.
On 6 Apr 2015, at 22:51, Christopher Potter wrote:
> We have a few new traced and warped PNs that we’d like to directly
> compare to the other PNs. We’ve followed the detailed instructions
> on your website related to the Grosjean, Benton et al publication, but
> are a bit stymied as to how to incorporate our traced PN files into
> the master dataset for comparison.
>
> Specifically, 1) do we need to convert our Amira traced PN files into
> another format? If so, how do you do the conversions?
> 2) How do we then take this traced file, and add it into the PN
> database for the cluster analysis?
>
> This is likely a standard protocol in your lab, so please feel free to
> pass me onto a lab member!
>
> Thanks!
>
> Cheers,
> Chris
--
Gregory Jefferis, PhD
Division of Neurobiology
MRC Laboratory of Molecular Biology
Francis Crick Avenue
Cambridge Biomedical Campus
Cambridge, CB2 OQH, UK
http://www2.mrc-lmb.cam.ac.uk/group-leaders/h-to-m/g-jefferis
http://jefferislab.org
http://flybrain.stanford.edu