Learn R Programming

haplotypes (version 1.1.3.1)

Manipulating DNA Sequences and Estimating Unambiguous Haplotype Network with Statistical Parsimony

Description

Provides S4 classes and methods for reading and manipulating aligned DNA sequences, supporting an indel coding methods (only simple indel coding method is available in the current version), showing base substitutions and indels, calculating absolute pairwise distances between DNA sequences, and collapses identical DNA sequences into haplotypes or inferring haplotypes using user provided absolute pairwise character difference matrix. This package also includes S4 classes and methods for estimating genealogical relationships among haplotypes using statistical parsimony and plotting parsimony networks.

Copy Link

Version

Install

install.packages('haplotypes')

Monthly Downloads

523

Version

1.1.3.1

License

GPL-2

Maintainer

Caner Aktas

Last Published

July 15th, 2023

Functions in haplotypes (1.1.3.1)

boot.dna-methods

Generates single bootstrap replicate
grouping-methods

Groups haplotypes according to the grouping variable (populations, species, etc.)
as.phyDat-methods

Coerces an object to a phyDat object
basecomp-methods

Calculates base composition
dna.obj

Example DNA sequence data
as.networx-methods

Coerces an object to a networx object
pairPhiST-methods

Provides the pairwise PhiST between populations
haplotype-methods

Methods for function haplotype in the package haplotypes
nrow-methods

Returns the number of DNA sequences
haplotypes-internal

Internal function(s)
indelcoder-methods

Codes gaps
length-methods

Methods for function length in the package haplotypes
remove.gaps-methods

Removing gaps from Dna object
names-methods

Function to get or set names of a Dna object or Parsimnet object
distance-methods

Calculates absolute pairwise character difference matrix using a Dna object
hapreord-methods

Reorders haplotypes according to the ordering factor
as.numeric-methods

Coerces a Dna object to a numeric matrix
haplotypes-package

Manipulating DNA Sequences and Estimating Unambiguous Haplotype Network with Statistical Parsimony
image-methods

Display DNA Sequence
polymorp-methods

Displays polymorphic sites (base substitutions and indels) between two sequences
ncol-methods

Returns the length of the longest DNA sequence
parsimnet-methods

Estimates gene genealogies using statistical parsimony
unique-methods

Extract Unique Sequences
homopoly-methods

Provides the list of homoplastic indels and substitutions
pairnei-methods

Provides the average number of pairwise Nei's (D) differences between populations
pieplot-methods

Plots pie charts on statistical parsimony network
plot-methods

Methods for function plot in the package haplotypes
[-methods

Extract or replace parts of an object of class Dna
rownames-methods

Retrieve or set the row names
pielegend-methods

Add Legends to Plots
subs-methods

Displays base substitutions
show-methods

Methods for function show in the package haplotypes
range-methods

Returns the minimum and maximum lengths of the DNA sequences
read.fas

Read sequences from a file in FASTA format
tolower-methods, toupper-methods

Convert sequence characters from upper to lower case or vice versa
Haplotype-class

Class "Haplotype" in the Package haplotypes
Dna-class

Class "Dna" in the Package haplotypes
as.DNAbin-methods

Coerces an object to a DNAbin object
as.dna-methods

Coerces an object to a Dna object
as.matrix-methods

Methods for function as.matrix in the Package haplotypes
append-methods

Combines two Dna objects
as.list-methods

Methods for function as.list in the Package haplotypes
as.data.frame-methods

Coerces a Dna object to a data.frame
Parsimnet-class

Class "Parsimnet" in the Package haplotypes
as.network-methods

Coerces an object to a network object