powered by
Finds the set of sequences that represent the requested number of clusters.
mostRepresentativeSequences(x, num.seqs = NULL, model = "raw", pairwise.deletion = TRUE)
a DNAbin object.
DNAbin
number of sequence names to return.
a character string specifying the evolutionary model to be used. See dist.dna for more information.
a logical indicating whether to delete sites with missing data. See dist.dna for more information.
a vector of the sequence names.
# NOT RUN { library(ape) data(dolph.seqs) mostRepresentativeSequences(as.DNAbin(dolph.seqs)) # }
Run the code above in your browser using DataLab