getOptimal2DStrategy: Determine Optimal 2D encoding

Description Usage Arguments Value Examples

View source: R/Yin-DFT-Distances-R.r

Description

Uses the ensemble of strings provided by the user as a list of genomic signals and determines the optimal encoding strategy by the algorithim proposed in Yin and Yau 2015, where the distance from A,C concentration and A,G concentration to one-half are used to determine which encoding will provide the best balance among all the possible encodings.

Usage

1
getOptimal2DStrategy(stringGenomes)

Arguments

stringGenomes

A list of strings representing genomic signals

Value

A character vector containing the name of the optimal strategy, either 'AC' or 'AG'.

Examples

1
2
getOptimal2DStrategy(list('ACCCTTAACCAAGGAGGGAGAGTTTCCCCGGGGGAGG',
                           'CCCCCCACACAAACCCTTGGGGAAAACCCGGAAGGCCCCCC'));

mathornton01/Genomic-DFT-Yin-R documentation built on Dec. 21, 2021, 2:52 p.m.