Identifies SNPs considered monomorphic.
check.snp.monomorf(snp.summary)
Arguments
- snp.summary
Data frame with columns `P.AA`, `P.AB`, `P.BB`.
Value
Character vector with monomorphic SNP names. Returns `NULL` if none.
Examples
df <- data.frame(P.AA = c(1, 0.5), P.AB = c(0, 0.5), P.BB = c(0, 0))
rownames(df) <- c("SNP1", "SNP2")
check.snp.monomorf(df)
#> [1] "SNP1"