<p>Hi,</p>

<p>How can I remove duplicate rows from the output of my toptableF? I have tried the following without success:</p>

<pre><code>  if (unique(fit2$genes)){
  Sigenes.F &lt;- topTableF(fit2, number=100, genelist=fit2$genes, adjust.method="bonferroni",
                   sort.by="F")
  }
</code></pre>

<p>Thanks</p>

<p>Read <code>?duplicated</code>:</p>

<pre><code>&gt; x = c(1:10,1:10)
&gt; x
 [1]  1  2  3  4  5  6  7  8  9 10  1  2  3  4  5  6  7  8  9 10
&gt; x[!duplicated(x)]
 [1]  1  2  3  4  5  6  7  8  9 10
&gt;
</code></pre>
