<p>It returns an IRanges object. You can transform it to a data.frame using <code>as.data.frame()</code> and then either write as a file with something like <code>write.table()</code> to view outside of R or use <code>View()</code> in RStudio to explore it.</p>

CC BY-SA 4.0
2023-10-21T14:00:40.097Z
Thanks a lot :)
Farzad Beikpour
CC BY-SA 4.0
2023-10-23T19:55:07.107Z
Accept the answer to provide closure to the port. @FarzadBeikpour
Ram RS
CC BY-SA 4.0
2023-10-21T13:02:18.287Z
2023-10-21T13:02:18.287Z
ATpoint
<p>running this code on R, using the Biostrings package,</p>
<pre class="lang-r prettyprint-override"><code>vmatchPattern(&quot;GAAGACCGAGGCCACGCGGAGTACGAACGAGGGTACAGTCTTC&quot;, mySeq)
</code></pre>
<p>in the console, it writes:</p>
<pre class="lang-r prettyprint-override"><code>...
&lt;22 more elements&gt;
</code></pre>
<p>How can I see all the results? The <code>print</code> function returns the same result.</p>

<r><biostrings>
seeing full results on R
# seeing full results on R

(Asked by: username_0 on 2023-10-21)

running this code on R, using the Biostrings package,
vmatchPattern("GAAGACCGAGGCCACGCGGAGTACGAACGAGGGTACAGTCTTC", mySeq)

in the console, it writes:
...
<22 more elements>

How can I see all the results? The print function returns the same result.

**Tags:** r, biostrings

---

## 1 answers

### Answer by username_1 on 2023-10-21. Score: 4

It returns an IRanges object. You can transform it to a data.frame using `as.data.frame()` and then either write as a file with something like `write.table()` to view outside of R or use `View()` in RStudio to explore it.

> **Comments:**
> **username_0**: Thanks a lot :)  
> **username_2**: Accept the answer to provide closure to the port. @FarzadBeikpour  

---

