<?xml version='1.0'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:atom="http://www.w3.org/2005/Atom" >
<channel>
	<title><![CDATA[BOL: R script to add P-Values in plots !]]></title>
	<link>https://bioinformaticsonline.com/snippets/view/44665/r-script-to-add-p-values-in-plots?</link>
	<atom:link href="https://bioinformaticsonline.com/snippets/view/44665/r-script-to-add-p-values-in-plots?" rel="self" type="application/rss+xml" />
	<description><![CDATA[]]></description>
	
	<item>
	<guid isPermaLink="true">https://bioinformaticsonline.com/snippets/view/44665/r-script-to-add-p-values-in-plots</guid>
	<pubDate>Tue, 17 Sep 2024 20:23:02 -0500</pubDate>
	<link>https://bioinformaticsonline.com/snippets/view/44665/r-script-to-add-p-values-in-plots</link>
	<title><![CDATA[R script to add P-Values in plots !]]></title>
	<description><![CDATA[<code>library(ggplot2)
library(tidyverse)
library(ggpubr)
my_comp &lt;- list( c(&quot;0.5&quot;, &quot;1&quot;), c(&quot;1&quot;, &quot;2&quot;), c(&quot;0.5&quot;, &quot;2&quot;) )
ggboxplot(ToothGrowth,
 x = &quot;dose&quot;, 
 y = &quot;len&quot;,
 fill = &quot;dose&quot;, 
 palette = &quot;Dark2&quot;)+
 stat_compare_means(label = &quot;p.format&quot;,
 comparisons = my_comp,
 method = &quot;t.test&quot;,
 symnum.args = list(cutpoints = c(0, 0.001, 1), 
 symbols = &quot;p &lt; 0.001&quot;))</code>]]></description>
	<dc:creator>LEGE</dc:creator>
</item>

</channel>
</rss>