Learn R Programming

ggmRSCU (version 0.1.0)

read_codonw: Process .blk files from CodonW

Description

This function processes .blk files from the CodonW software. It reads the files, cleans the data, and returns a combined data frame.

Usage

read_codonw(folder_path)

Value

A combined data frame of all processed .blk files with columns:

AA

Amino acid abbreviation

Codon

DNA codon sequence

RSCU

Relative Synonymous Codon Usage value

Fill

Position index within amino acid group

Species

Species name derived from file name

Arguments

folder_path

The path to the folder containing .blk files to process.

Examples

Run this code
# Using example data
example_dir <- system.file("extdata", "codonw", package = "ggmRSCU")
result <- read_codonw(example_dir)
head(result)

Run the code above in your browser using DataLab