Skip to contents

Pairs the tail_type call from detect_orientation_single with the layout call from infer_cdna_layout and returns a single-character marker so disagreements stand out in the cDNA validation browser.

Usage

cdna_layout_agreement_marker(algo_tail_type, inferred_layout)

Arguments

algo_tail_type

Character. The tail_type value from the orientation algorithm: "polyA", "polyT", or "unidentified".

inferred_layout

Character. The value returned by infer_cdna_layout: "polyA_layout", "polyT_layout", or "ambiguous".

Value

Single-character string. One of: check mark (Unicode U+2713) for agreement, not-equal sign (U+2260) for disagreement, question mark for layout ambiguity, or em dash (U+2014) for unidentified. Returned as Unicode escapes in source ("\u2713", "\u2260", "\u2014") for ASCII portability.