powered by
Summarizes allele frequency information in scatter and density plots
summary_vcf(vcf, ZG = NULL, CHR = NULL)
VCF object from read_vcf function
zygosity: (1) null, for both het and hom, default; (2) het; (3) hom
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
# NOT RUN { data("vcf_example") tmp <- summary_vcf(vcf = vcf_example, ZG = 'het', CHR = c(1,2)) plot(tmp$scatter) plot(tmp$density) # }
Run the code above in your browser using DataLab