
Merge polyA and polyT processing results for cDNA analysis
Source:R/ninetails_core_functions_dorado_cDNA.R
merge_cdna_results.RdThis function combines the results from separate polyA and polyT processing paths into a unified output in standard ninetails format. Updated to work with the simplified approach using tibbles instead of files.
Usage
merge_cdna_results(
polya_results = NULL,
polyt_results = NULL,
unidentified_reads = NULL,
save_dir,
prefix = "",
cli_log = message
)Arguments
- polya_results
List. Results from polyA processing (from process_polya_reads_cdna). Can be NULL if no polyA reads were found.
- polyt_results
List. Results from polyT processing (from process_polyt_reads_cdna). Can be NULL if no polyT reads were found.
- unidentified_reads
Data frame/tibble. Reads that could not be classified as polyA or polyT (with tail_type = "unidentified").
- save_dir
Character. Directory where merged results will be saved.
- prefix
Character. Optional prefix for output file names.
- cli_log
Function for logging messages and progress.