Description Usage Arguments Value Examples
Summarizes allele frequency information in scatter and density plots
1 | summary_vcf(vcf, ZG = NULL, CHR = NULL)
|
vcf |
VCF object from read_vcf function |
ZG |
zygosity: (1) null, for both het and hom, default; (2) het; (3) hom |
CHR |
chromosome number: (1) null, all chromosome, default; (2) any specific number |
A list containing (1) scatter: allele frequency scatter plot; (2) density: allele frequency density plot
1 2 3 4 | data("vcf_example")
tmp <- summary_vcf(vcf = vcf_example, ZG = 'het', CHR = c(1,2))
plot(tmp$scatter)
plot(tmp$density)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.