<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Am 27.09.19 um 17:26 schrieb Yan LUO:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAN0jsH8zn-VPGvY6rjHrP4h3RMSxejgZcqGcMxOTMo=WdKERRw@mail.gmail.com">
      <pre class="moz-quote-pre" wrap="">[...]
I am considering of constructing a "2-dimensional figure" to show the
results of a network meta-analysis, which means using the x-axis to the
indicate efficacy ORs for a group of drugs and y-axis to indicate safety
ORs for the same group of drugs. I selected drug A as conference for both
efficacy and safety networks. In order to draw the scatter plot, I need to
extract information from 2 network meta-analyses. The output of
summary(netmeta)  function (if set ref=drug A) displays all the ORs
compared to drug A (which I need), however this result is not included in
the returned list. If it were in the returned list then it would be not
hard to extract, but since it cannot be found there, how can I extract
these ORs values from the output? Besides, I am wondering why the displayed
results are different from the returned list?</pre>
    </blockquote>
    <p>Dear Yan,</p>
    <p>You do not directly find the odds ratios in an R object created
      with netmeta() as the log odds ratio is stored. Furthermore,
      instead of only containing comparisons with the reference
      treatment, all network estimates are stored in the list elements
      'TE.fixed' and 'TE.random'.</p>
    These matrices contain the network estimates comparing the treatment
    in the row with the treatment in the column. For a netmeta object
    net1, for example, you can extract the log odds ratio of treatment
    comparisons with the reference treatment using the following
    commands:<br>
    net1$TE.fixed[, net1$reference.group]<br>
    net1$TE.random[, net1$reference.group]<br>
    <p>Similar matrices are stored in a netmeta object containing the
      standard errors, lower and upper confidence limits as well as z-
      and p-values (see help page of netmeta).</p>
    <p>Concerning a scatter plot of an efficacy and safety outcome, I
      wrote some R code (see attached file) which does the job. This
      will probably be the basis for a new plotting function in R
      package <b>netmeta</b> to easily create such scatter plots.</p>
    <p><br>
    </p>
    <blockquote type="cite"
cite="mid:CAN0jsH8zn-VPGvY6rjHrP4h3RMSxejgZcqGcMxOTMo=WdKERRw@mail.gmail.com">
      <pre class="moz-quote-pre" wrap="">By the way, I have another question about the netgraph function. It seems
not to be a defaulted selection of drawing a netgraph with the size of
nodes proportional to the randomized number of patients (sample size), but
can I manage to do it by some ways?</pre>
    </blockquote>
    <p>The number of randomized patients per treatment is stored in list
      element 'n.trts' which can be used to determine the node size in a
      network graph. E.g.,</p>
    <p>example(smokingcessation)<br>
      netgraph(net1, plastic = FALSE, points = TRUE, adj = 0.5,<br>
               cex.points = 15 * sqrt(n.trts / max(n.trts)))<br>
    </p>
    <p>Best wishes, Guido</p>
    <p>P.S. Some additional remarks:<br>
    </p>
    <p>- R function netleague() can be used to create a league table for
      an efficacy and safety outcome. E.g., netleague(net.efficacy,
      net.safety)</p>
    <p>- R functions netbind() and forest.netbind() can be used to
      combine / bind results of several networks and to generate a
      corresponding forest plot</p>
    <p>- R functions netposet() and plot.netposet() can be used to
      generate a scatter plot of P-scores for two outcomes (to partially
      order / rank treatments based on two outcomes)<br>
    </p>
    <blockquote type="cite"
cite="mid:CAN0jsH8zn-VPGvY6rjHrP4h3RMSxejgZcqGcMxOTMo=WdKERRw@mail.gmail.com"></blockquote>
    <pre class="moz-signature" cols="72">-- 
Dr. Guido Schwarzer
Institute of Medical Biometry and Statistics,
Faculty of Medicine and Medical Center - University of Freiburg

Postal address: Stefan-Meier-Str. 26, D-79104 Freiburg

Phone: +49/761/203-6668
Mail: <a class="moz-txt-link-abbreviated" href="mailto:sc@imbi.uni-freiburg.de">sc@imbi.uni-freiburg.de</a>
Homepage: <a class="moz-txt-link-freetext" href="http://www.imbi.uni-freiburg.de">http://www.imbi.uni-freiburg.de</a>

ORCID iD: <a class="moz-txt-link-freetext" href="https://orcid.org/0000-0001-6214-9087">https://orcid.org/0000-0001-6214-9087</a>
R-book: <a class="moz-txt-link-freetext" href="https://www.springer.com/gp/book/9783319214153">https://www.springer.com/gp/book/9783319214153</a></pre>
  </body>
</html>