Description Usage Arguments Details Examples
This function converts genetic data (nucleotides) to numeric data.
1 | CTN(x)
|
x |
x should be a dataset in fasta format |
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.
1 2 3 4 | ### import fasta data to R.
##x.dna0 <- read.fasta("dna.fasta")
### convert data to numerical values
##x.dna<-CTN(x.dna0)
|
Loading required package: dendextend
---------------------
Welcome to dendextend version 1.5.2
Type citation('dendextend') for how to cite the package.
Type browseVignettes(package = 'dendextend') for the package vignette.
The github page is: https://github.com/talgalili/dendextend/
Suggestions and bug-reports can be submitted at: https://github.com/talgalili/dendextend/issues
Or contact: <tal.galili@gmail.com>
To suppress this message use: suppressPackageStartupMessages(library(dendextend))
---------------------
Attaching package: 'dendextend'
The following object is masked from 'package:stats':
cutree
Loading required package: ggplot2
Loading required package: ggdendro
Attaching package: 'ggdendro'
The following object is masked from 'package:dendextend':
theme_dendro
Loading required package: seqinr
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.