
Launch the cDNA orientation validation browser
Source:R/ninetails_app_launcher.R
launch_cdna_signal_browser.RdMinimum-useful companion to launch_signal_browser
specifically for verifying cDNA orientation classifications against
the raw signal layout. Shows one signal at a time with the algorithm's
tail_type call, an independent size-ratio-inferred layout
(see infer_cdna_layout), and an agreement marker so
disagreements stand out visually.
Arguments
- dorado_summary
Character string or data frame. Path to a Dorado summary file or a data frame with at least
read_id,filename,poly_tail_start,poly_tail_endcolumns. The Dorado >=1.4.0input_filenamealias is also accepted.- pod5_dir
Character string. Path to the directory containing POD5 files for the run.
- orientation_data
Character string or data frame. Path to a TSV produced by
detect_orientation_multiple, or that function's in-memory return value. Must containread_idandtail_type;referenceandsequenceare used if present.- ...
Additional arguments passed to
runApp.
Details
Intended as a validation tool while
check_tails_dorado_cDNA is still under construction;
will be superseded by a fuller cDNA dashboard once cDNA-native CNN
submodels are in place.
Examples
if (FALSE) { # \dontrun{
# Using files on disk
ninetails::launch_cdna_signal_browser(
dorado_summary = "/path/to/dorado_summary.txt",
pod5_dir = "/path/to/pod5/",
orientation_data = "/path/to/sequence_with_tail_type.tsv"
)
# Using an in-memory orientation tibble (e.g. straight out of the pipeline)
classified <- ninetails::detect_orientation_multiple(
sequence_files = my_seq_files, num_cores = 4
)
ninetails::launch_cdna_signal_browser(
dorado_summary = "/path/to/dorado_summary.txt",
pod5_dir = "/path/to/pod5/",
orientation_data = classified
)
} # }