| basecontent {matchprobes} | R Documentation |
This function accepts a character string representing the base sequence of the DNA for a gene and computes the counts of each base.
basecontent(seq)
seq |
Character vector. |
Each element of x is separately decomposed into its base
sequence components.
A matrix with 4 columns and length(x) rows.
The columns are names A, C, T,
G, and the values in each column are the counts
of the corresponding bases in the elements of x.
The elements of x can be in upper case, lower case
or mixed.
R. Gentleman, W. Huber
v<-c("AAACT", "GGGTT", "ggAtT")
basecontent(v)