transform {seq2R} | R Documentation |
Biological sequences are categorical variables. With this function the four nucleotides are coded with two bits, 0 and 1 (binary numeral system) for being used by almost all modern computers.
transform(x)
x |
The object obtained with |
The returned list has two component ($AT
, $CG
). Both of them containing a matrix with values about their critical points (maximum and minimum), and their lower and upper 95% confidence intervals.
AT |
Variable A and T with binary system. |
CG |
Variable C and G with binary system. |
Nora M. Villanueva and Marta Sestelo.
library(seq2R)
#mtDNAhum <- read.genbank("NC_012920")
data(mtDNAhum)
DNA <- transform(mtDNAhum)
DNA