g/ggpval/blob/master/R/add_pval_ggplot.R'><code>R/add_pval_ggplot.R</code></a></small>
    <div class="hidden name"><code>add_pval.Rd</code></div>
    </div>

    <div class="ref-description">
    <p>Add p-values to ggplot objects.</p>
    </div>

    <pre class="usage"><span class='fu'>add_pval</span><span class='op'>(</span>
  <span class='va'>ggplot_obj</span>,
  pairs <span class='op'>=</span> <span class='cn'>NULL</span>,
  test <span class='op'>=</span> <span class='st'>"wilcox.test"</span>,
  heights