Table-based helper adding a DEG_sig column ("YES"/"NO") to a
transcript table. Row order is preserved. With an IsoformicExperiment,
isoform_switches() relates transcript and gene significance directly.
Examples
det_table <- data.frame(
transcript_name = c("tx1", "tx2", "tx3"),
log2FC = c(2.5, -1.2, 0.8)
)
is_deg_sig(c("tx1", "tx3"), det_table)
#> transcript_name log2FC DEG_sig
#> 1 tx1 2.5 YES
#> 2 tx2 -1.2 NO
#> 3 tx3 0.8 YES
