get_freq-methods: Get codon usage frequency of synonymous codons

Description Usage Arguments Value See Also Examples

Description

Access the synonymous codon usage frequency

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
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)

Arguments

object

regioned_dna / DNAStringSet / codon usage matrix (vector)

...

...

Value

matrix

See Also

input_seq, get_region, get_cu, get_du, get_rscu

Examples

1
2
3
filepath <- system.file("extdata", "example.fasta", package = "SynMut")
rgd.seq <- input_seq(filepath)
get_freq(rgd.seq)

SynMut documentation built on Nov. 8, 2020, 8:01 p.m.