Learn R Programming

geneNR (version 2.0.1)

summariseSNP: Distribution of SNPs Across Chromosomes

Description

Distribution of SNPs Across Chromosomes

Usage

summariseSNP(data)

Value

A data frame with chromosome names and the count of SNPs for each chromosome

Arguments

data

A data frame containing a column named Chr

Examples

Run this code
# \donttest{
demo_SNP <- system.file("extdata", "demo_SNP.hmp.txt", package = "geneNR")
data <- import_hmp(demo_SNP)
snp_distribution <- summariseSNP(data)
print(snp_distribution)
# }

Run the code above in your browser using DataLab