seq_nchar {bioseq} | R Documentation |
Count the number of character in sequences
Description
Count the number of character in sequences
Usage
seq_nchar(x, gaps = TRUE)
Arguments
x |
a DNA, RNA or AA vector. |
gaps |
if |
Value
An integer vector giving the size of each sequence of x
.
See Also
Other op-misc:
seq_disambiguate_IUPAC()
,
seq_nseq()
,
seq_spellout()
,
seq_stat_gc()
,
seq_stat_prop()
Examples
x <- dna(c("ATGCAGA", "GGR-----","TTGCCTAGKTGAACC"))
seq_nchar(x)
seq_nchar(x, gaps = FALSE)
[Package bioseq version 0.1.4 Index]