powered by
This function spells out nucleotides and amino acids in sequences.
seq_spellout(x, short = FALSE, collapse = " - ")
A character vector if collapse is not NULL. A list of character vectors otherwise.
NULL
a DNA, RNA or AA vector
logical. If TRUE, the function will return 3-letters short names for amino acids (ignored for DNA and RNA).
a character vector to separate the results. Set to NULL to avoid collapsing the results.
Other op-misc: seq_disambiguate_IUPAC(), seq_nchar(), seq_nseq(), seq_stat_gc(), seq_stat_prop()
seq_disambiguate_IUPAC()
seq_nchar()
seq_nseq()
seq_stat_gc()
seq_stat_prop()
x <- dna("ACGT") seq_spellout(x) x <- rna("ACGU") seq_spellout(x) x <- aa("ACGBTX") seq_spellout(x)
Run the code above in your browser using DataLab