CTN: convert genetic data (nucleotides) to numerical values
Description
This function converts genetic data (nucleotides) to numeric data.
Usage
CTN(x)
Arguments
x
x should be a dataset in fasta format
Details
R is more efficient with numerical data and storage of data via numerical values takes
less memory. Genetic data consists of nucleotide data A,T,C,G and are usually saved
in Fasta format. After downloading the data from one of the bioinformatics repositories
and importing it to R, this function converts the data to numerical values.