seqStat {spider} | R Documentation |
Sequence statistics
Description
Utility that produces a table giving summary statistics for a ‘DNAbin’ object.
Usage
seqStat(DNAbin, thresh = 500)
Arguments
DNAbin |
Alignment of class ‘DNAbin’. |
thresh |
Threshold sequence length. Default of 500 (minimum length for official DNA barcodes). |
Details
This function considers bases coded as '?', 'N' and '-' as missing data.
Value
A table giving the minimum, maximum, mean and median sequence lengths, and the number of sequences with lengths below the given threshold.
Author(s)
Rupert Collins <rupertcollins@gmail.com>
Examples
data(anoteropsis)
seqStat(anoteropsis)
[Package spider version 1.5.0 Index]