codon_composition: Codon Composition of Sequences

Description Usage Arguments Value Examples

View source: R/count_codons.R

Description

Codon Composition of Sequences

Usage

1
codon_composition(orfs, orf_col, id_col)

Arguments

orfs

tibble, data with cds sequences

orf_col

character, column name containing cds

id_col

character, column name with gene/name id

Value

tible n by x, codon counts for each sequence, n is the number of sequences and x is the number of codons (x=61) it may contain more thant 61 in case there is a codon loke ACN

Examples

1
2
orf <- tibble::tibble(cds = c("ACGTTT", "TTTCCC"), id = c("s0", "s1"))
codon_composition(orf, orf_col = "cds", id_col = "id")

santiago1234/codonr documentation built on Dec. 9, 2019, 10:15 a.m.