filter_donors | R Documentation |
The donors are chosen based on K. Wasik et al, 2021 This function is used as a nested function in phcp_impute()
filter_donors(data, n_donors, n_info, freq)
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 |
the data file with the chosen haplotypes
K. Wasik et al., Comparing low-pass sequencing and genotyping for trait mapping in pharmacogenetics. BMC genomics 22, 197 (2021).
phcp_impute which is the imputation function that uses this function
input that generates the data input for this function
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.