Evaluation¶
Allele Metrics¶
Metrics that evaluate allele-level accuracy after allele calling.
AllelePrecision().update(gt_markers, pred_markers)/compute()→ tensorAlleleRecall().update(gt_markers, pred_markers)/compute()→ tensorAlleleF1Score().update(gt_markers, pred_markers)/compute()→ tensor
Allele Caller¶
Translates pixel-level predictions into discrete allele calls.
Visualization¶
plot_profile(signal, annotation, prediction, title) — Plot a full DNA
profile with optional multiclass annotations.
plot_profile_marker(signal, scaler, marker_bp_range, dye_row, annotation, prediction, title) — Plot a single marker region of an EPG profile.