print_fusion_matches.RdFormats and displays the results from the fusion matching function in a human-readable summary format, showing all matches found for each fusion.
print_fusion_matches(results)A list of fusion match results, as returned by find_related_fusions().
Each element corresponds to a sequenced fusion and contains nested lists of matched
database fusions with scores and details.
Invisibly returns NULL. As a side effect, prints formatted match results to the console.
For each sequenced fusion, this function prints:
A header showing the fusion index and match count
No matches found message (if applicable)
For each match: index, fusion ID, score, and gene/exon details
The function handles empty results and properly formats each match's details
based on the structure provided by find_related_fusions().
find_related_fusions for generating the match results
if (FALSE) { # \dontrun{
# Find related fusions
results <- find_related_fusions(sequenced_fusions, db_fusions)
# Print matches in readable format
print_fusion_matches(results)
# Print matches for just one fusion
print_fusion_matches(results[1])
} # }