Description Usage Arguments Value Author(s) See Also Examples
View source: R/barcode.summary.R
For every species, provides the minimum, maximum, mean and median values of inter- and intraspecific distances.
1 | barcode.summary(dismat=NULL,save.distances=FALSE,folder.name="distance_matrices")
|
dismat |
a symmetric matrix containing the pairwise genetic distances between individual sequences |
save.distances |
a logic, "TRUE" to save the pairwise distances estimated per species (one file per species) |
folder.name |
a string, if save.distance=TRUE, the name of the folder to save distances |
A list with two elements:
Intraspecific |
a matrix containing information about the intraspecific distances. |
Interspecific |
a matrix containing information about the interspecific distances. |
In both cases, the information provided is the minimum, maximum, median, mean, first and third quartile values.
A.J. Muñoz-Pajares
1 2 3 4 5 | # my.dist<-matrix(abs(rnorm(100)),ncol=10,
# dimnames=list(paste("sp",rep(1:5,2),sep=""),
# paste("sp",rep(1:5,2),sep="")))
# my.dist<-as.matrix(as.dist(my.dist))
# barcode.summary(my.dist)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.