screeline: Number of clusters over a range of thresholds

Description Usage Arguments Value Author(s) See Also Examples

View source: R/screeline.R

Description

Cross-correlation between sequences in an alignment to detect potentially incorrectly aligned sequences.

Usage

1
screeline(distObj, breaks = 20)

Arguments

distObj

An object of class DNAbin

breaks

The number of thresholds at which the number of clusters should be calculated. Default of 20.

Value

Returns a list with the following elements:

x

The threshold value.

y

The number of clusters in the data at that threshold.

Author(s)

Samuel Brown <s_d_j_brown@hotmail.com>

See Also

tclust

Examples

1
2
3
4
5
6
data(dolomedes)
doloDist <- dist.dna(dolomedes, model = "raw")

screeline(doloDist)
plot(screeline(doloDist), type = "l", xlab = "Threshold", ylab = "Number of clusters")
plot(screeline(doloDist, breaks = 30), type = "l", xlab = "Threshold", ylab = "Number of clusters")

spiderDev documentation built on May 2, 2019, 5:23 p.m.