powered by
hetByScanChrom(genoData, snp.exclude = NULL, verbose = TRUE)
GenotypeData
This function calculates the percent of heterozygous and missing genotypes in each chromosome of each scan given in genoData.
genoData
hetBySnpSex
file <- system.file("extdata", "illumina_geno.gds", package="GWASdata") gds <- GdsGenotypeReader(file) genoData <- GenotypeData(gds) het <- hetByScanChrom(genoData) close(genoData)
Run the code above in your browser using DataLab