09.08.2013 Views

Analyse avec le logiciel imagej d'un lot d'images en microscopie par ...

Analyse avec le logiciel imagej d'un lot d'images en microscopie par ...

Analyse avec le logiciel imagej d'un lot d'images en microscopie par ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

C:\Docum<strong>en</strong>ts and Settings\montarou\Bureau\correction\chandez\Macro_GM_CCQ_v9.txt jeudi 22 juil<strong>le</strong>t 2010 16:08<br />

}<br />

else {<br />

showMessage("<strong>Analyse</strong> avortee", "Pas de se<strong>le</strong>ction dans l'image DAPI, donc pas de<br />

foci...");<br />

print("Aucune se<strong>le</strong>ction de noyau dans l'image");<br />

}<br />

// Fermeture image H2AX<br />

if (isOp<strong>en</strong>(fi<strong>le</strong>H2AX)) { se<strong>le</strong>ctWindow(fi<strong>le</strong>H2AX); close(); }<br />

} // Fin de bouc<strong>le</strong> principa<strong>le</strong> sur <strong>le</strong>s coup<strong>le</strong>s <strong>d'images</strong> DAPI/H2AX<br />

//se<strong>le</strong>ct Log-window<br />

se<strong>le</strong>ctWindow("Log");<br />

// Save log fi<strong>le</strong><br />

path = working_path+fi<strong>le</strong>H2AX+"_log"+".txt";<br />

saveAs("Text", path);<br />

// Summary (Recapitulatif de toutes <strong>le</strong>s mesures sur foci <strong>par</strong> noyau)<br />

//<br />

in2p3-00530281, version 1 - 28 Oct 2010<br />

// 'Analyze Partic<strong>le</strong>s' recapitu<strong>le</strong> dans une tab<strong>le</strong> 'Summary':<br />

// - Slice : Nom de l'image H2AX cib<strong>le</strong><br />

// - Count : Nb de foci <strong>en</strong>umeres dans l'image<br />

// - Total Area : Cumul de l'aire de tous <strong>le</strong>s foci<br />

// - ...<br />

// Sortie des resultats pour chaque noyau dans un fichier summary de type .txt<br />

se<strong>le</strong>ctWindow("Summary");<br />

path = working_path+"Summary.txt";<br />

saveAs("Text", path);<br />

//------------------------------------------------------------------<br />

// P<strong>lot</strong> de verification ==> histogramme du nombre de foci <strong>par</strong> noyau<br />

//------------------------------------------------------------------<br />

// Tri des noyaux <strong>par</strong> nb de focis<br />

print("\nRecapitulatif (max:" + maxFociByNuc<strong>le</strong>i+")");<br />

xLimit=yLimit=0;<br />

xMinLimit=yMinLimit=0;<br />

nBins=0;<br />

for (n=0; n0) {<br />

print("cumFreq["+n+"] = "+cumFreq[n]);<br />

nBins++;<br />

print(cumFreq[n]+" noyau de "+n+" foci");<br />

if (cumFreq[n]>yLimit) {yLimit = cumFreq[n];}<br />

if (n>xLimit) {xLimit = n;}<br />

if (xMinLimit==0) {xMinLimit = n;}<br />

}<br />

}<br />

print("");<br />

print("Noyaux ret<strong>en</strong>us = ", nbTotalNuc<strong>le</strong>i);<br />

print("yLimit = ", yLimit);<br />

print("xLimit = ", xLimit);<br />

print("xMinLimit = ", xMinLimit);<br />

print("\nP<strong>lot</strong> graph");<br />

-8

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!