<?xml version='1.0'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:atom="http://www.w3.org/2005/Atom" >
<channel>
	<title><![CDATA[BOL: Plot VCF with R !]]></title>
	<link>https://bioinformaticsonline.com/snippets/view/37688/plot-vcf-with-r?</link>
	<atom:link href="https://bioinformaticsonline.com/snippets/view/37688/plot-vcf-with-r?" rel="self" type="application/rss+xml" />
	<description><![CDATA[]]></description>
	
	<item>
	<guid isPermaLink="true">https://bioinformaticsonline.com/snippets/view/37688/plot-vcf-with-r</guid>
	<pubDate>Fri, 14 Sep 2018 05:44:46 -0500</pubDate>
	<link>https://bioinformaticsonline.com/snippets/view/37688/plot-vcf-with-r</link>
	<title><![CDATA[Plot VCF with R !]]></title>
	<description><![CDATA[<code>library(vcfR)

# Input the files.
vcf &lt;- read.vcfR(&quot;variant.vcf.gz&quot;, verbose = FALSE)
dna &lt;- ape::read.dna(&quot;000000F_0.fa&quot;, format = &quot;fasta&quot;)
#gff &lt;- read.table(gff_file, sep=&quot;\t&quot;, quote=&quot;&quot;)

# Create a chromR object.
chrom &lt;- create.chromR(name=&quot;Supercontig&quot;, vcf=vcf, seq=dna, verbose=TRUE)

plot(chrom)

chromoqc(chrom, dp.alpha=20)</code>]]></description>
	<dc:creator>Jit</dc:creator>
</item>

</channel>
</rss>