encodeGenomes: Encode an ensemble of genomes into a numerical form

Description Usage Arguments Value Examples

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

Description

Will produce a list of either the 4D or the 2D representation of a set of signals and return them in a list.

Usage

1
encodeGenomes(stringGenomes, dimension = "2D")

Arguments

stringGenomes

is a list containing the genomes in a string format

dimension

is a character string either '2D' or '4D'.

Value

A list containing matrixes of various column length, but either 2 or 4 rows.

Examples

1
2
3
4
encodeGenomes(list('ACCCCAATTAGAGGGACTTTGGGAACCGGAGAT','GGCCCAGAGGGAAACCGGT'),
              '2D'); 
encodeGenomes(list('ACCCCAATTAGAGGGACTTTGGGAACCGGAGAT','GGCCCAGAGGGAAACCGGT'), 
              '4D'); 

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