getPowerSpectraDistances: Get the Power Spectra Distance

Description Usage Arguments Value Examples

View source: R/afgencomp.R

Description

Computes the Euclidean distances among all of the sequences for all of the power spectra, applying a standard Euclidean distance measure to the entire computed spectrum. The result is returned as a standard pairwise distances matrix.

Usage

1

Arguments

genomeList

Genetic strings expected in a list.

Value

pair-wise distances matrix computed as the euclidean distance among the various power spectra for the sequences provided.

Examples

1
2
tg <- c("ACCCAAGAGAGAGCCCCCGAGAGAGAGAGAGAGAGCCCCGAGAGAGCGAGACGAGAC","TAGAGCCGAGATAGAGCCGAGAGTTAGAC","CGGAGAGNNGGAGAGCCCGAGAGTTTGAGNN")
dm <- getPowerSpectraDistances(tg);

mathornton01/afgencomp documentation built on Dec. 21, 2021, 2:52 p.m.