Learn R Programming

hsphase (version 1.2.4)

impute: Impute of Low Density SNP Marker to High Density (Paternal Strand)

Description

Impute the paternal strand from low density to high density utilising high density sire haplotype.

Usage

impute(halfsib_paternal_ld, halfsib_block_ld, sire_ld, sire_hd)

Arguments

halfsib_paternal_ld
Matrix half-sib paternal strand (output of {phf} - the matrix should have rownames which are the sample IDs and colnames which are the SNP names)
halfsib_block_ld
Matrix halfsib block structure (Output of bmh)
sire_ld
Matrix imputed sire (output of {ssp} - the matrix should have rownames which are the sample IDs and colnames which are the SNP names)
sire_hd
Matrix haplotype of sire (this parameter can be sequence data or any phased sire - the matrix should have rownames which are the sample IDs and colnames which are the SNP names)

Value

  • Return an imputed half-sib matrix.

See Also

bmh, ssp and phf