Calculation the minor allele frequency from variant dosage matrix in R

I have a variant dosage matrix and want to calculate the Minor Allele Frequency (MAF) for each variant (row) of the data frame dose_df. I’d like to ask you wheather it is correct to say that the Allele Frequency (AF) of a variant will be calculated by considering the sum of each values in a… Read More Calculation the minor allele frequency from variant dosage matrix in R