 demonstrates a quick guide on how to use SeqMiner.</p>

<h2 id="toc_1">Extract gentoype matrix from VCF file</h2>

<p>Extract genotype matrix from 1:196621007-196716634, and only focused on <em>Nonsynonymous</em> variants:</p>

<pre><code class="r">cfh &lt;- readVCFToMatrixByRange(fileName, &quot;1:196621007-196716634&quot;, &quot;Nonsynonymous&quot;)
</code></pre>

<pre><code>## Regcomp OK
</code></pre>

<pre><code class="r">cfh
</code></pre>

<pre><code>##             NA12286 NA12341 NA12342
## 1:1966422