Identifies SNPs with minor allele frequency below a minimum threshold.

check.snp.maf(snp.summary, min.maf)

Arguments

snp.summary

Data frame with SNP summary (must contain `MAF` column).

min.maf

Minimum MAF allowed.

Value

Character vector with SNP names below threshold. Returns `NULL` if none.

Author

Roberto Higa

Examples

df <- data.frame(MAF = c(0.01, 0.2), row.names = c("SNP1", "SNP2"))
check.snp.maf(df, 0.05)
#> NULL