read_codonw {ggmRSCU} | R Documentation |
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)
Arguments
folder_path |
The path to the folder containing .blk files to process. |
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 |
Examples
# Using example data
example_dir <- system.file("extdata", "codonw", package = "ggmRSCU")
result <- read_codonw(example_dir)
head(result)
[Package ggmRSCU version 0.1.0 Index]