mostDistantSequences: Most Distant Sequences

Description Usage Arguments Value Author(s) Examples

View source: R/mostDistantSequences.R

Description

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.

Usage

1
2
3
4
5
6
7
mostDistantSequences(
  x,
  num.seqs = NULL,
  model = "raw",
  pairwise.deletion = TRUE,
  simplify = TRUE
)

Arguments

x

a set of sequences or a gtypes object with sequences.

num.seqs

number of sequences to return. If NULL (default), all sequences are returned from most to least distant.

model

a character string specifying the evolutionary model to be used. See dist.dna for more information.

pairwise.deletion

a logical indicating whether to delete sites with missing data. See dist.dna for more information.

simplify

if there is a single locus, return result in a simplified form? If FALSE a list will be returned wth one element per locus.

Value

a vector of the num.seqs sequence names that are the most divergent sorted from greatest to least distant.

Author(s)

Eric Archer eric.archer@noaa.gov

Examples

1
2
3

strataG documentation built on Feb. 28, 2020, 9:07 a.m.