I looked at your graph. Nice. Would be interested in knowing the tool that you used for this graph? Graph is labeled as PSA, perhaps Prostate Specific Antigen?

Getting off the topic of Perl, but some things to consider for the presentation.. What's normal or not for PSA is based upon prostate size, not some absolute value. Normal tissue produces 0.066 ng/mL/cc of prostate volume. Basically any value above 2.5 is worthy of some investigation as to the cause, perhaps BPH (Benign Prostatic Hyperplasia) etc. Evidence of disease is an exponential growth rate, like 2,4,8,16.

Plot log(PSA) vs time. The logarithmic plot makes it easier to discern trends and many biological markers exhibit this type of growth. If the log plot is a straight line going upwards and to the right, then the slope of that line determines how fast things are progressing. From the slope of the log line, you can determine the "doubling rate", how long it takes for the tumor to double. That is a key prognostic factor and would help you quantify "getting worse fast".

If you are writing code that is not-for-profit and can be shared amongst institutions for the general benefit of all, I will help you with this project and perhaps other Monks would also. Send a /msg to me and we'll discuss further off-line.

I apologize for the non Perl part of this thread. But perhaps the tip about plotting log values instead of a linear plot could be counted as relevant.


In reply to Re^7: Code Critique by Marshall
in thread Code Critique by rhiridflaidd

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.