add_codon_counts: Add codon counts to data

View source: R/ml-preprocessing.R

add_codon_countsR Documentation

Add codon counts to data

Description

Add codon counts to data

Usage

add_codon_counts(datos)

Arguments

datos

A data frame with at least the following variables

gene_id

id, to identify each particular secuence

coding

DNA, coding sequence in frame

Add the codon counts to input data. The codon counts is the frequency of each of the 64 codons in the input data frame

Value

a tibble with the codon counts as columns append to the input tibble the columns are named with c_CODN (i.e c_AAA, ..., c_TTT)

Examples

add_codon_counts(testing[1:5, ])

santiago1234/iCodon documentation built on Nov. 2, 2023, 2:03 p.m.