Learn R Programming

strataG (version 2.0.2)

mostRepresentativeSequences: Representative Sequences

Description

Finds the set of sequences that represent the requested number of clusters.

Usage

mostRepresentativeSequences(x, num.seqs = NULL, model = "raw",
  pairwise.deletion = TRUE)

Arguments

x

a DNAbin object.

num.seqs

number of sequence names to return.

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.

Value

a vector of the sequence names.

Examples

Run this code
# NOT RUN {
library(ape)
data(dolph.seqs)

mostRepresentativeSequences(as.DNAbin(dolph.seqs))

# }

Run the code above in your browser using DataLab