get_freq {SynMut} | R Documentation |
Access the synonymous codon usage frequency
get_freq(object, ...) ## S4 method for signature 'regioned_dna' get_freq(object) ## S4 method for signature 'DNAStringSet' get_freq(object) ## S4 method for signature 'matrix' get_freq(object) ## S4 method for signature 'vector' get_freq(object)
object |
regioned_dna / DNAStringSet / codon usage matrix (vector) |
... |
... |
matrix
input_seq
, get_region
,
get_cu
, get_du
, get_rscu
filepath <- system.file("extdata", "example.fasta", package = "SynMut") rgd.seq <- input_seq(filepath) get_freq(rgd.seq)