de"><pre class="sourceCode r"><code><span><span class="fu">ts_vcf</span><span class="op">(</span></span>
<span>  <span class="va">ts</span>,</span>
<span>  <span class="va">path</span>,</span>
<span>  chrom <span class="op">=</span> <span class="st">"chr1"</span>,</span>
<span>  individuals <span class="op">=</span> <span class="cn">NULL</span>,</span>
<span>  position_transform <span class="op">=</span> <span class="st">"lambda x: np.fmax(1, x)"</span></span>
<span><span class="op">)</span></span></code></