summariseSNP_vcf {geneNR} | R Documentation |
Distribution of SNPs Across Chromosomes from VCF
Description
Distribution of SNPs Across Chromosomes from VCF
Usage
summariseSNP_vcf(vcf_data)
Arguments
vcf_data |
A |
Value
A data frame with chromosome names and the count of SNPs for each chromosome.
Examples
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)
[Package geneNR version 2.0.1 Index]