basecontent {oligo} | R Documentation |
Function to compute the amounts of each nucleotide in a sequence.
basecontent(seq)
seq |
character vector of length n containg a valid
sequence (A/T/C/G) |
matrix
with n
rows and 4 columns with the counts for
each base.
sequences <- c("ATATATCCCCG", "TTTCCGAGC") basecontent(sequences)