Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

kaks-torture

Expected numeric results for Ka and Ks in extreme cases


Description

This data set is what should be obtained when runing kaks() on the test file kaks-torture.fasta in the sequences directory of the seqinR package.

Usage

data(kaksTorture)

Format

A list with 4 components of class dist.

ka

Ka

ks

Ks

vka

variance for Ka

vks

variance for Ks

Source

See comments in kaks-torture.fasta for R code used to produce it.

References

citation("seqinr")

Examples

data(kaksTorture)
kaks.torture <- read.alignment(file = system.file("sequences/kaks-torture.fasta", 
  package = "seqinr"), format = "fasta")
#
# Failed on windows :
#
# stopifnot(identical(kaksTorture, kaks(kaks.torture)))
# stopifnot(identical(kaksTorture, kaks(kaks.torture, rmgap = FALSE)))

seqinr

Biological Sequences Retrieval and Analysis

v4.2-16
GPL (>= 2)
Authors
Delphine Charif [aut], Olivier Clerc [ctb], Carolin Frank [ctb], Jean R. Lobry [aut, cph], Anamaria Necşulea [ctb], Leonor Palmeira [ctb], Simon Penel [cre], Guy Perrière [ctb]
Initial release
2022-05-19

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.