Learn R Programming

haplotypes (version 1.1.3.1)

homopoly-methods: Provides the list of homoplastic indels and substitutions

Description

This function returs the list of homoplastic indels and substitutions.

Usage

# S4 method for Dna
homopoly(x,indels="sic",...)

Value

a list with following components:

indels

a character vector of homoplastic indels sitewise Consistency Index, names of the character vector gives the site of homoplastic indel.

subs

a character vector of homoplastic substitutions sitewise Consistency Index, names of the character vector gives the site of substitution.

Arguments

x

an object of class Dna.

indels

the indel coding method to be used. This must be one of "sic", "5th" or "missing". Any unambiguous substring can be given. See distance for details.

...

additional arguments to parsimnet.

Methods

signature(x = "Dna")

Author

Caner Aktas, caktas.aca@gmail.com

Examples

Run this code
data("dna.obj")

### Method for signature 'Dna'.
x<-dna.obj
homopoly(x)

Run the code above in your browser using DataLab