Re: Ratio calculation

From: Ray Hicks (rh208@cus.cam.ac.uk)
Date: Mon Jan 18 1999 - 06:40:32 EST


Hi Joseph,

To try to help you down from your gum tree, I've added the ability to sum
two parameters to FCS Assistant (0.56g).  I plan to add a specialised
spreadsheet-like interface to the document window at some stage,  but this
should provide a temporary fix.  Further to Adam Treister's observations on
the limitations of integer-type list mode files, this implementation adds
at least one more:

The result is returned with a maximum range of 10 bits, which means that
some sums could go past this level.  By default the program clips these
values to 1023, you can choose to scale the results (at present this means
dividing it by two) to ensure that the range isn't exceeded.

Log data is linearised (like it or not, it has to be) before addition, and
then logged (if one or more of the original parameters were in log).

I'm not putting this version on the web because I'm in the middle of a
couple of other larger revisions and I'll wait until they're finished, if
anyone would like to try it "as is" they should drop me a line and I'll
send it to them. If it provides the right kind of result I'll make the
maths scriptable so you'll be able to drag and drop batches of files.


Ray

ps if you're exporting to excel anyway, why don't you apply the formula there?


 At 4:14 pm +1100 13/1/99, Joseph Webster wrote:
>Hi All,
>A slightly curly request.... :~?
>
>A colleague wants the ratio of (FL2 / (FL1 + FL2)) from many flow readings.
>(He explained why, but I didn't understand...)
>
>He wants this from many datafiles, so batch processing probably....
>He wants to export this into some other program such as Excel.....
>
>Several computer packages can produce simple ratios of one parameter
>over another, but someone is always wanting more...
>
>Any ideas?
>
>Another challenge for Ray Hicks, Adam Treister, Joe Trotter Et Al ;~)
>How about the ability to enter a user-defined function or formula to be
>applied to the data?
>
>(The "massaging" possibilities are amazing!-)
>
>	Thanks, Joseph.
>
>--
>Joseph Webster
>Flow Cytometry Facility
>Centenary Institute


                              Ray Hicks
________________________________________________________________________
|University of Cambridge          |Tel              01223 330149        |
|Department of Medicine           |Fax             01223 336846         |
|Level 5, Addenbrookes Hospital   |e-mail         <rh208@cus.cam.ac.uk> |
|Hills Road Cambridge             |Web  http://facsmac.med.cam.ac.uk    |
|CB2                              |ftp server  ftp://131.111.80.78      |
|UK                               |                                     |
|_________________________________|_____________________________________|



This archive was generated by hypermail 2b29 : Wed Apr 03 2002 - 11:52:57 EST