from kruskal_mann_whitney_U import KMWU pathname = "/Volumes/LaCie/Projects/aDN/imaging/OR83b_Chrimson_aDN_GCaMP6f/Results/" labels = ["female", "matedFemale", "male"] genders = ["female", "_matedFemale", "_male"] identifiers = [".mat", "10ms", "40Hz", "0uMPTX"] neuronparts = ["medial", "lateral"] barylim = [-32, 220] ylim = [-0.1, 0.5] barcols = ["#ff4cff", "#cc00cc", "#00cc00"] optoPlot(genders=genders, labels=labels, pathname=pathname, identifiers=identifiers, neuronparts=neuronparts, barylim=barylim, ylim=ylim, barcols=barcols) print("Stats:") print("5s pulse:") KMWU(pathname=pathname, genders=genders, compareOn="genders", pulsedurs=[5], identifiers=identifiers, neuronparts=neuronparts)
labels = ["female", "mated female", "male"] genders = ["_female", "matedFemale", "_male_fly"] neuronparts = ["medial", "lateral"] ylim = [-0.1, 0.5] barylim = [-2, 250] barcols = ["#ff4cff", "#cc00cc", "#00cc00"] identifiers0 = [".mat", "10ms", "40Hz", "s0uMPTX"] identifiers150 = [".mat", "10ms", "40Hz", "150uMPTX"] identifiers300 = [".mat", "10ms", "40Hz", "300uMPTX"] optoPlot(genders=genders, labels=labels, pathname=pathname, identifiers=identifiers0, neuronparts=neuronparts, ylim=ylim, barylim=barylim, barcols=barcols, expname='mean_pulse_5s_0uMPTX.eps') print("Stats:") print("0uM PTX:") KMWU(pathname=pathname, genders=genders, neuronparts=neuronparts, compareOn="genders", pulsedurs=[5], identifiers=identifiers0)
import optogenetic_plot from optogenetic_plot import optoPlot import mann_whitney_U from mann_whitney_U import MWU pathname =\ "/Volumes/LaCie/Projects/aDN/imaging/LC10_Chrimson_AL5a_GCaMP6f/Results/" labels = ["female", "male", "female no r", "male no r"] genders = ["_female", "_male"] neuronparts = ["AOTu_", "AOTuNoRetinal"] optoPlot(genders=genders, labels=labels, pathname=pathname, neuronparts=neuronparts, ylim=[-0.1, 2.2], barylim=[0, 230], pulsedur=5, expname='mean_pulse_5s.eps', allonerow=True) optoPlot(genders=genders, labels=labels, pathname=pathname, neuronparts=neuronparts, ylim=[-0.1, 2.2], barylim=[0, 230], pulsedur=1, expname='mean_pulse_1s.eps', allonerow=True)
import optogenetic_plot from optogenetic_plot import optoPlot pathname = "/Volumes/LaCie/Projects/aDN/imaging/LC10_Chrimson_AL5a_GCaMP6f/Results/" labels = ["8", "10", "12", "20"] genders = ["_male"] neuronparts = ["8ms", "10ms", "12ms", "20ms"] identifiers = [".mat", "40Hz"] optoPlot(genders=genders, labels=labels, pathname=pathname, neuronparts=neuronparts, ylim=[-0.1, 2.2], barylim=[0, 230], pulsedur=5, expname='pulselength_5s.eps', allonerow=True, identifiers=identifiers) optoPlot(genders=genders, labels=labels, pathname=pathname, neuronparts=neuronparts, ylim=[-0.1, 2.2], barylim=[0, 230], pulsedur=1, expname='pulselength_1s.eps', allonerow=True, identifiers=identifiers)
import kruskal_mann_whitney_U from kruskal_mann_whitney_U import KMWU import mann_whitney_U_multicomp from mann_whitney_U_multicomp import MWU_multi pathname = "/Volumes/LaCie/Projects/aDN/imaging/LC10_Chrimson_AL5a_GCaMP6f/Results/" labels = ["female", "male"] genders = ["_female", "_male"] neuronparts = ["AOTu_", "AOTuNoRetinal"] identifiers = ["0uMPTX", ".mat", "40Hz", "10ms"] optoPlot(genders=genders, labels=labels, pathname=pathname, neuronparts=neuronparts, ylim=[-0.1, 2.4], barylim=[-2, 1500], pulsedur=5, expname='mean_pulse_5s.eps', identifiers=identifiers, ytickrange=np.arange(0, 1500, step=500)) print("Stats 5s:") _ = MWU_multi(genders=genders, neuronparts=neuronparts, identifiers=identifiers, pathname=pathname, pulsedurs=[5]) optoPlot(genders=genders, labels=labels,
import optogenetic_plot from optogenetic_plot import optoPlot import mann_whitney_U from mann_whitney_U import MWU pathname =\ "/Volumes/LaCie/Projects/aDN/imaging/ppk23-lexA_aDN-GCaMP6f/Results/" labels = ["female"] genders = ["_female"] neuronparts = ["medial", "lateral"] optoPlot(genders=genders, labels=labels, pathname=pathname, neuronparts=neuronparts, ylim=[-0.1, 1], barylim=[0, 30], pulsedur=5, expname='mean_pulse_5s.eps') print("Stats:") print("5s suppl figure:") MWU(pathname=pathname, genders=genders, neuronparts=neuronparts, compareOn="genders", pulsedurs=[5])
pathname =\ "/Volumes/LaCie/Projects/aDN/imaging/GH146_chrimson_aDN_GCaMP6f/Results/" labels = ["matedFemale"] genders = ["_matedFemale_NonRetinal"] identifiers = [".mat", "10ms", "40Hz", "0uMPTX"] neuronparts = ["medial", "lateral"] barylim = [-32, 220] ylim = [-0.1, 0.5] barcols = ["#ff4cff", "#cc00cc", "#00cc00"] optoPlot(genders=genders, labels=labels, pathname=pathname, identifiers=identifiers, neuronparts=neuronparts, barylim=barylim, barcols=barcols, ylim=ylim, figuresize=(3, 4), expname='mean_non_retinal.eps') print("Stats:") print("5s pulse:") KMWU(pathname=pathname, genders=genders, compareOn="neuronparts", pulsedurs=[5], identifiers=identifiers, neuronparts=neuronparts)