An internal Reference Class to represent DNA data, read from a FASTA file.
A DNAStringSet containing the full sequence alignment.
A DNAStringSet containing the elignment, with uninformative sites removed.
An integer vector containing the base positions that are informative.
A character vector of length one with the sequence name that is the reference.
A list of population definitions - a list of vectors containing sequence names.
Reads in sequences from file and appropriately modifies fields of the object.
Enforces some rules about the content of the sequence object and throws errors should they occur.
Returns a vector containing the numbers of the base positions in the aligned sequences.
Returns the length in base pairs, of the aligned sequences.
Returns a vector of the base positions of the informative sites in the aligned sequences.
Returns the number in base pairs, of informative sites in the aligned sequences.
Returns a character vector of the sequence names.
Returns true if a DNA sequence alignment has been read in and stored in the object. Otherwise returns false.
Returns TRUE when a set of populations has been defined. Otherwise returns FALSE.
Creates a character vector of the summary of the sequence object, formatted as HTML.
initialize(sequenceInput = NULL)
Initializes the object, may be provided with a filepath to a sequence file, currently only FASTA is supported.
Returns the names of the populations.
Returns the number of populations assigned.
Returns the number of sequences in the stored alignment.
Function assigns one population per sequence.
Extracts from the sequence object, a triplet of sequences.
Define which sequences form a population. Provide a list of vectors containing either integers or sequence names.
Creates a character vector of the summary of the sequence object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.