extractGenotypeMatrixFromDosage: Extract genotype matrix from a dosage file generated by...

View source: R/genotype_dose_matrix.R

extractGenotypeMatrixFromDosageR Documentation

Extract genotype matrix from a dosage file generated by bcftools

Description

Extract genotype matrix from a dosage file generated by bcftools

Usage

extractGenotypeMatrixFromDosage(chr, start, end, dosage_file)

Arguments

chr

chromosome of the genomic region

start

start coordinate of the genomic region

end

end coordinate of the genomic region

dosage_file

Path to the tabix-indexed dosage file (first four columns need to be CHROM, POS, REF, ALT)

Value

genotype matrix


kauralasoo/eQTLUtils documentation built on March 12, 2023, 8:50 p.m.