# Load the simulated data.
data(trio.data)
# All SNPs with a minor allele frequency smaller than 0.1
# can be removed from mat.test by
mat2 <- removeSNPs(mat.test, maf = 0.1)
# The minor allele frequencies for all SNPs can be
# determined (based on the genotypes of the parents) by
maf <- colMAFtrio(mat.test)
Run the code above in your browser using DataLab