powered by
This functions counts the number of bases in an alignment that are composed of missing data.
checkDNA(DNAbin, gapsAsMissing = TRUE)
A DNA alignment of class `DNAbin'.
Logical. Should gaps (coded as '-') be considered missing bases? Default of TRUE.
A numeric vector giving the number of missing bases in each sequence of the alignment.
This function considers bases coded as '?' and 'N' as missing data. By default, gaps (coded as '-') are also considered missing.
# NOT RUN { data(anoteropsis) checkDNA(anoteropsis) checkDNA(anoteropsis, gapsAsMissing=FALSE) # }
Run the code above in your browser using DataLab