spider (version 1.5.0)

seqStat: 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).

Value

A table giving the minimum, maximum, mean and median sequence lengths, and the number of sequences with lengths below the given threshold.

Details

This function considers bases coded as '?', 'N' and '-' as missing data.

Examples

Run this code
# NOT RUN {
data(anoteropsis)
seqStat(anoteropsis)

# }

Run the code above in your browser using DataLab