View source: R/seq_stat_operations.R
| seq_nchar | R Documentation |
Count the number of character in sequences
seq_nchar(x, gaps = TRUE)
x |
a DNA, RNA or AA vector. |
gaps |
if |
An integer vector giving the size of each sequence of x.
Other op-misc:
seq_disambiguate_IUPAC(),
seq_nseq(),
seq_spellout(),
seq_stat_gc(),
seq_stat_prop()
x <- dna(c("ATGCAGA", "GGR-----","TTGCCTAGKTGAACC"))
seq_nchar(x)
seq_nchar(x, gaps = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.