Joystick results

on Tuesday, August 21st, 2018 2:09 | by

These are the results of Saurabh and Avani together. The positive control, the last one seems to be good (for the barplot and the boxplot). The only objection is that from the metadata it seems like they did all the positive controls on the same day, the 6th of June, which is not  a good scientific practice. The third plot is the amount of experiments of each line.

 

 

 

These are the experiments from Amanda, the second plot is the amount of experiments per line. Since the positive control does not show the aversive phenotype I am afraid I have to throw her data away :(

I can´t see if effects reproduce in different hands because I do not have the data from Amanda, so I will just pool all the data together.

Print Friendly, PDF & Email

We do not seem to reproduce each other results

on Tuesday, August 14th, 2018 2:40 | by

Since we do not reproduce each others results, together with the previous post with the bootstrapping I can confirm that these neurons do not have an effect in reinforcement (in general). But we will focus on TH-D’

Residuals:
Min 1Q Median 3Q Max
-0.26964 -0.15074 0.07699 0.10043 0.24611

Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 0.05663 0.12282 0.461 0.661
new_Christian$mean 1.07180 0.56922 1.883 0.109

Residual standard error: 0.1943 on 6 degrees of freedom
Multiple R-squared: 0.3714, Adjusted R-squared: 0.2667
F-statistic: 3.545 on 1 and 6 DF, p-value: 0.1087

 

Residuals:
Min 1Q Median 3Q Max
-0.43451 -0.10793 0.02633 0.14283 0.28667

Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) -0.05975 0.03595 -1.662 0.1101
new_Gaia$mean 0.33806 0.19627 1.722 0.0984 .

Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1

Residual standard error: 0.1787 on 23 degrees of freedom
Multiple R-squared: 0.1142, Adjusted R-squared: 0.07574
F-statistic: 2.967 on 1 and 23 DF, p-value: 0.09842

Print Friendly, PDF & Email

Bootstrapping NorpA flies without G4

on Tuesday, August 14th, 2018 2:19 | by

To see if there is an effect of the activation of these neurons in general, I thought of bootstrapping all the flies containing NorpA without G4s to see if the statistics are similar to that of my screen.

 

here the final screen

Here a total of 37 Tmaze experiments containing NorpA with UAS-GtACRs, UAS-Chrimson or UAS-ChR2XXL but without G4. Experiments are from Naman, Gaia and me, here the pooled effect:

Here the barplot of the result of  12 samples (with repetitions) for 20 times. Considering 37 experiments are closer to the real true distribution of NorpA flies, we sample from them to observe the probability of obtaining false positives, as well as the distributions.

 

Here the boxplotFrom this results I would deduce that most of these neurons have no effect on their reinforcement. This idea came because I saw that the phenotype scores of th-G4+th-G80>Chrimson was always close to zero in all of the behavioral setups. I thought that this could show that the dopaminergic neurons have an effect that is context dependent and that is why PIs might be more extreme than with the negative control (th-G4+th-G80>Chrimson).

 

This is a quick edit to see how it would look with 32 lines (the same number as for the real screen)

Print Friendly, PDF & Email

Joystick Update

on Monday, July 30th, 2018 2:08 | by

Mean trace of all flies and how degrees of freedom vary over learning

on Monday, July 23rd, 2018 6:40 | by

Mean trace of the positive control in the Joystick to get to see what are the overall dynamics and maybe to get an idea what might be the best score to pick.Here the standard deviation of the flies along the time axis. This is just to see if all the flies have more similar phenotypes with each other or not at each time.

This is to see if the flies have less degrees of freedom at any segment by measuring the standard deviation at each segment. There does not seem to be any effect. Although this might be mixed with the wiggle scores. I think measuring entropy is a better measure.

 

All the same plots as above but for TH-D’, the interesting line from the screen.

 

Standard deviation across flies

Standard deviation across segments

Print Friendly, PDF & Email

Performance index for modelling for data in the Y-mazes

on Monday, July 23rd, 2018 5:30 | by

This are the performance indices for the different models performed to estimate the valence of the dopaminergic clusters. AIC: Akaike Information Criteria; BIC: Bayesian information Criteria; LogLikelihood: log Likelihood estimation

lm: linear model

+ int: taking double interaccions into consideration

b lm: bayesian linear model with bayesglm function

b lm MCMC: bayesian linear model with MCMCglm function

nlm: nonlinear model with lm function with splines fitted

b nlm: splines fitted to each cluster and MCMCglm function

GAM: general additive model with gam function

 

Adding double interactions seems to produce better models, nonlinearities also make models better and frequentist also. To me it seems like this  data might be noise and therefore adding interactions, nonlinearities and frequentist methods is just fitting the noise better (overfitting) and that is why I get better scores with them. In addition, care needs to be taken since I use different functions that calculate the model performance scores differently (although the formulas are theoretically the same for all!)

Print Friendly, PDF & Email

Finding the interesting lines

on Friday, July 20th, 2018 3:46 | by

This is the correlation from the T-maze experiments from Gaia and Naman. Neither ranked nor regular correlation show any significant effect. This means that these effects seem to be random, at least for most of them, is this an overfitting result?

I would say blue 1 is a line that was negative for all the tests I have so far seen. So this might be an interesting line. What to do next?

I would unblind the blue1, which is TH-D’. It was shown to be required for classical conditionning in shock and temperature learning (Galili et al. 2014). Another interesting observation is that th-g4+th-g80 seems to have like zero PI scores in all of the experiments (Naman and Gaia in the Tmaze, Joystick and Y-mazes). So could it be that all of these neurons have indeed a meaning, but is depending every time in the context?? Maybe Vanessa Ruta´s work might be interesting for that.

Print Friendly, PDF & Email

More on valence inference

on Monday, July 2nd, 2018 2:00 | by

This is the linear model with its statistics

 

This is the linear model adding interactions. It is perfectly possible to have interactions between neurons, kind of what occurs with olfactory processing where ORNs activated alone or in different combinations have completely different meanings

 

 

I uploaded in slack the bayesian linear model with interactions. For any reason, it does not let me upload it now to the website

I am trying one of the ways of nonlinear models: GAM (Generalized additive models). Here one fit splines to the effects to certain degrees of freedom.

 

 

This is the kind of bar graphs I thought I could use for all the plots.

Print Friendly, PDF & Email

Modelling the valence of dopaminergic clusters from the Y-mazes

on Monday, June 25th, 2018 1:52 | by

Dopaminergic clusters are differently targeted by the different Gal4s. Some of the express faintly, others stronger. Here I try to see if the dose-response curve (or expression-PI curve) seems to be linear or not. Here I put two examples from the 17 clusters, where the first two seem to have nonlinear curves, with and optimal expression level, and the last two seem to have a linear response curve.

This will be important for the modelling in order to decide to make a linear/nonlinear model. Down below I show the results from a linear model and it´s statistics. From Aso et al. 2012, one could see that activating the lines with TrpA1 shows a linear response curve. But in this case it does not necessarily seem to be the case. Therefore, light intensities might have an effect, as well as the expression level, and conclusion needs to be taken carefully.

 

In addition it is difficult to calculate this for all the clusters with just one single light intensity test, because not all clusters are expressed in several Gal4s to different level, so that we can estimate from there. So for the interesting lines we might need to make several experiments at different intensities, and see the dose response curve.

 

The G4s I have used for the modelling are the ones shown here.

Print Friendly, PDF & Email

Making new ratios for Y-maze

on Monday, June 18th, 2018 1:55 | by

This is just to show that I am trying to find  a new ratio so that all graphs have from -1 to +1 ranges. That is why now the difference in occupancy time is divided by the total time. The same with the speed. Because speed differences are so subtle, the Y axis scale has to be lower

Print Friendly, PDF & Email