powered by
This function verifies when a SNP is Monomorphic
is.Monomorphic(x)
A logical value TRUE if the SNP is Monomorphic, otherwise a FALSE
any R object
data(SNPs) is.Monomorphic(SNPs$snp10001) is.Monomorphic(SNPs$snp100020) apply(SNPs[,20:30],2,is.Monomorphic)
Run the code above in your browser using DataLab