powered by
Distribution of SNPs Across Chromosomes from VCF
summariseSNP_vcf(vcf_data)
A data frame with chromosome names and the count of SNPs for each chromosome.
A vcfR object containing VCF data.
vcfR
# \donttest{ demo_SNP <- system.file("extdata", "demo_SNP.vcf", package = "geneNR") vcf_data <- import_vcf(demo_SNP) snp_distribution <- summariseSNP_vcf(vcf_data) print(snp_distribution) # }
Run the code above in your browser using DataLab