basecomp-methods: Calculates base composition

Description Usage Arguments Value Methods Examples

Description

Calculates base composition of Dna object.

Usage

1
2
## 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

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

## Calculating base compositions.
basecomp(x)

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