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

Description Usage Arguments Value Methods Author(s) Examples

Description

This function returs the list of homoplastic indels and substitutions.

Usage

1
2
## S4 method for signature 'Dna'
homopoly(x,indels="sic",...)

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.

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.

Methods

signature(x = "Dna")

Author(s)

Caner Aktas, caktas.aca@gmail.com

Examples

1
2
3
4
5
data("dna.obj")

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

haplotypes documentation built on Feb. 28, 2020, 5:08 p.m.