basecomp-methods {haplotypes}R Documentation

Calculates base composition

Description

Calculates base composition of Dna object.

Usage

## S4 method for signature 'Dna'
basecomp(x)

Arguments

x

an object of class Dna.

Value

a matrix with sequence as rows, DNA bases as columns and frequencies as entries.

Methods

signature(x = "Dna")

calculates base composition of Dna object.

Examples

data("dna.obj")
x <-dna.obj

## Calculating base compositions.
basecomp(x)




[Package haplotypes version 1.1.3.1 Index]