<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to create graph with Adverse Events per each subject in each treatment side by side in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/How-to-create-graph-with-Adverse-Events-per-each-subject-in-each/m-p/438942#M15145</link>
    <description>&lt;P&gt;Yes, you can use SGPANEL to get a panel of adverse event graphs by some classifier.&amp;nbsp; That is the easy part.&amp;nbsp; You have to massage the data and use the right plots statements and options to get the appropriate graph in each cell.&lt;/P&gt;</description>
    <pubDate>Wed, 21 Feb 2018 14:56:24 GMT</pubDate>
    <dc:creator>Jay54</dc:creator>
    <dc:date>2018-02-21T14:56:24Z</dc:date>
    <item>
      <title>How to create graph with Adverse Events per each subject in each treatment side by side</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-create-graph-with-Adverse-Events-per-each-subject-in-each/m-p/438743#M15126</link>
      <description>&lt;P&gt;I need help in generating graph by using GTL. My requirement is to create two graphs (one for each treatment) and they should be side by side (Please see attachment - Requirement.docx).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Study duration is on X-axis and subject number will be on Y-axis. I created this output by using proc gplot and PROC GREPLAY. First created two individual plots by using PROC GPLOT and used PROC GREPLAY to get two graphs onto single page side by side.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to get this graph by using PROC SGPANEL. with this procedure all the subject numbers from both treatment groups are present on Y-axis and second treatment subject numbers on the top and first treatment subject numbers are below (please see the attachment - sgpanel output).&lt;/P&gt;&lt;P&gt;SAS code I have used for the scatter plot as below:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;proc sgpanel data=ae ;&lt;BR /&gt;panelby trt01pn sort/ layout=lattice;&lt;BR /&gt;scatter x=dur y=subjid;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sample data is provided in aegraph.xls&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2018 18:36:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-create-graph-with-Adverse-Events-per-each-subject-in-each/m-p/438743#M15126</guid>
      <dc:creator>mekalvk</dc:creator>
      <dc:date>2018-02-20T18:36:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to create graph with Adverse Events per each subject in each treatment side by side</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-create-graph-with-Adverse-Events-per-each-subject-in-each/m-p/438847#M15134</link>
      <description>&lt;P&gt;You will need to process the data to get SAS date variables.&amp;nbsp; See &lt;A href="https://blogs.sas.com/content/graphicallyspeaking/2013/01/30/ae-timeline-by-name/" target="_blank"&gt;Adverse Event Timeline articl&lt;/A&gt;e for ideas on how to do this.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2018 02:10:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-create-graph-with-Adverse-Events-per-each-subject-in-each/m-p/438847#M15134</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2018-02-21T02:10:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to create graph with Adverse Events per each subject in each treatment side by side</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-create-graph-with-Adverse-Events-per-each-subject-in-each/m-p/438938#M15144</link>
      <description>&lt;P&gt;Thanks for your reply Sanjay.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think I am not clear with my question.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My main concern&amp;nbsp; is to get the two panels side by side with subject numbers on each y-axis (similar to Requirement.docx). In the SGPANEL output all subject are present on single y-axis on the left side with second treatment subjects on the top and below first treatment subjects. I want two graphs with subject numbers on the y-axis and the values (highlow plot or scatter plot) on each of them side by side not on one above the other.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This can be done by SGPANEL or not.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All other lines can be done using high low plot will come in next step.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Vijaya&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2018 14:33:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-create-graph-with-Adverse-Events-per-each-subject-in-each/m-p/438938#M15144</guid>
      <dc:creator>mekalvk</dc:creator>
      <dc:date>2018-02-21T14:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to create graph with Adverse Events per each subject in each treatment side by side</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-create-graph-with-Adverse-Events-per-each-subject-in-each/m-p/438942#M15145</link>
      <description>&lt;P&gt;Yes, you can use SGPANEL to get a panel of adverse event graphs by some classifier.&amp;nbsp; That is the easy part.&amp;nbsp; You have to massage the data and use the right plots statements and options to get the appropriate graph in each cell.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2018 14:56:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-create-graph-with-Adverse-Events-per-each-subject-in-each/m-p/438942#M15145</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2018-02-21T14:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to create graph with Adverse Events per each subject in each treatment side by side</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-create-graph-with-Adverse-Events-per-each-subject-in-each/m-p/439316#M15152</link>
      <description>&lt;P&gt;Hi Sanjay, I tried different options provided in the SAS documentation and not able to get the graphs with different y-axis as my requirement and there are no examples available with similar case. Is there any post or example available from your blog, can you share it with me.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Feb 2018 15:13:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-create-graph-with-Adverse-Events-per-each-subject-in-each/m-p/439316#M15152</guid>
      <dc:creator>mekalvk</dc:creator>
      <dc:date>2018-02-22T15:13:48Z</dc:date>
    </item>
  </channel>
</rss>

