Learn R Programming

⚠️There's a newer version (0.1-34) of this package.Take me there.

phyclust (version 0.1-9)

Phylogenetic Clustering (Phyloclustering)

Description

Phylogenetic clustering (phyloclustering) is an evolutionary Continuous Time Markov Chain model-based approach to identify population structure from molecular data without assuming linkage equilibrium. It provides a convenient implementation of phyloclustering for DNA and SNP data, capable of clustering individuals into subpopulations and identifying molecular sequences representative of those subpopulations. It is designed in C for performance, interfaced with R for visualization, and incorporates other popular open source software, ms, seq-gen and Hap-Clustering for simulating data and additional analyses. See the phyclust website for more information, documentations and examples.

Copy Link

Version

Install

install.packages('phyclust')

Monthly Downloads

1,814

Version

0.1-9

License

GPL (>= 2)

Maintainer

WeiChen Chen

Last Published

October 26th, 2011

Functions in phyclust (0.1-9)

RRand

Rand index and adjusted Rand index
phyclust-package

Phyloclustering -- Phylogenetic Clustering
.EMControl

EM control generator
.init.procedure

Initialization procedures for EM algorithms
.show.option

Show available options
.EMC

EM control
.substitution

Substitution models for mutation processes
code2nid

Transfer codes (A, G, C, T, -) and nids (0, 1, 2, 3, 4)
.boundary.method

Boundary methods for population proportions
bootstrap.seq

Bootstrap sequences from a fitted model and star tree.
bootstrap.star.trees

Bootstrap a star tree from a fitted model.
.em.method

EM methods/algorithms
.Color

Colors for identifying clusters in plots
bootstrap.star.trees.seq

Bootstrap sequences from a fitted model.
file.read

Read data from files by formats and return a seq.data object
phyclust.logL

Log-likelihood of phyclust
.identifier

Identifiers for evolution models
phyclust.m.step

One M-step of phyclust
all.internal.tzeng

All internal functions of Tzeng's methods
getcut.fun

Tzeng's method: finding the best number of clusters
phyclust.Pt

Transition probabilities of phyclust given time
as.star.tree

Coerce a rooted tree to a star tree in Class phylo
haplo.post.prob

Tzeng's method: haplotype grouping for SNP sequences
code2snp

Transfer nucleotide codes / nids and SNPs / sids
gen.seq

Generate sequences given a rooted tree.
.init.method

Initialization methods for EM algorithms
phyclust

The main function of phyclust
plotnj

Plot an unrooted trees.
gen.unit.K

Generate comprehensive trees.
phyclust.e.step

One E-step of phyclust
phyclust.em.step

One EM-step of phyclust
gen.equal.star.anc.dec

Generate comprehensive trees.
file.write

Write data to files by formats
plotdots

Dots plots of sequences for visual comparisons
bootstrap.seq.data

Bootstrap a seq.data from a fitted model.
gen.star.tree

Generate a rooted tree with a star shape
nid.aid.cid

Transfer nids (0, 1, ..., 4) , aids (0, 1, ..., 21) and cids (0, 1, ..., 64)
print.object

Functions for printing or summarizing objects according to classes
plotgaps

Gaps plots of sequences for visual comparisons
phyclust.edist

Evolution distance of sequences
find.best

Find the best solution of phyclust
snp2sid

Transfer SNP codes (1, 2, -) and sids (0, 1, 2)
.code.type

Code types of dataset and substitution models
data.fasta.pony

Great pony 625 EIAV rev dataset in the fasta format
.label.method

Label method
rescale.rooted.tree

Rescale a rooted tree's height
find.consensus

Find the consensus sequence
ms

Generating Samples under a Wright-Fisher Neutral Model of Genetic Variation
get.rooted.tree.height

Get a rooted tree height
read.seqgen

Read seqgen's results and return a seq.data
standard.code

Standard codes and ids for nucleotides, SNPs, codon, amino acid and genetic code
.edist.model

Evolution distance model
plothist

Plot histogram to compare number of mutations.
prune.Mu

Prune the center sequences Mu
seqgen

Seq-Gen
plotstruct

Struct plots of observations based on posterior probabilities
data.phylip.crohn

Crohn's disease SNP dataset in the phylip format
seq.data

A toy dataset in class seq.data
all.internal

All internal functions of phyclust
data.phylip.pony

Great pony 524 EIAV rev dataset in the phylip format