powered by
This function processes .blk files from the CodonW software. It reads the files, cleans the data, and returns a combined data frame.
read_codonw(folder_path)
A combined data frame of all processed .blk files with columns:
Amino acid abbreviation
DNA codon sequence
Relative Synonymous Codon Usage value
Position index within amino acid group
Species name derived from file name
The path to the folder containing .blk files to process.
# 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