<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>You'll need to pay attention to what you are doing.  If you are new to R, you will need to do some reading on R data structures, as each behaves differently with regard to indexing.  Just guessing, but you probably want:</p>

<pre><code>SigGenes.F[!duplicated(SigGenes.F$genes),]
</code></pre>
