filter_donors: Choose most informative donors for imputation

filter_donorsR Documentation

Choose most informative donors for imputation

Description

The donors are chosen based on K. Wasik et al, 2021 This function is used as a nested function in phcp_impute()

Usage

filter_donors(data, n_donors, n_info, freq)

Arguments

data

the input file that was generated with input

n_donors

the number of donors' haplotypes to choose

n_info

the number of columns in the data file before the columns of the haplotypes

freq

the maximal minor allele frequency in variants to consider when choosing the donors

Value

the data file with the chosen haplotypes

References

K. Wasik et al., Comparing low-pass sequencing and genotyping for trait mapping in pharmacogenetics. BMC genomics 22, 197 (2021).

See Also

phcp_impute which is the imputation function that uses this function

input that generates the data input for this function


ShamamW/PHCPImpute documentation built on Oct. 26, 2022, 6:34 a.m.