Description Usage Arguments Value
View source: R/other_useful_functions.R
Function to remove the minor alleles
1 |
x.0 |
A n \times m original marker genotype matrix. |
map.0 |
Data frame with the marker names in the first column. The second and third columns contain the chromosome and map position. |
min.MAF |
Specifies the minimum minor allele frequency (MAF). If a marker has a MAF less than min.MAF, it is removed from the original marker genotype data. |
max.MS |
Specifies the maximum missing rate (MS). If a marker has a MS more than max.MS, it is removed from the original marker genotype data. |
return.MAF |
If TRUE, MAF will be returned. |
The modified marker genotype data whose SNPs with MAF <= min.MAF were removed.
The modified map information whose SNPs with MAF <= min.MAF were removed.
Minor allele frequencies of the original marker genotype.
Minor allele frequencies of the modified marker genotype.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.