powered by
Finds the set of sequences that are on the edges of the cloud of distances. These are the ones that have the greatest mean pairwise distance and greatest variance in distances.
mostDistantSequences( x, num.seqs = NULL, model = "raw", pairwise.deletion = TRUE, simplify = TRUE )
a set of sequences or a '>gtypes object with sequences.
number of sequences to return. If NULL (default), all sequences are returned from most to least distant.
NULL
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.
if there is a single locus, return result in a simplified form? If FALSE a list will be returned wth one element per locus.
FALSE
a vector of the num.seqs sequence names that are the most divergent sorted from greatest to least distant.
num.seqs
# NOT RUN { data(dolph.haps) mostDistantSequences(dolph.haps, 5) # }
Run the code above in your browser using DataLab