The following warnings occurred:
Warning [2] Undefined variable $can_link - Line: 6 - File: showthread.php(1658) : eval()'d code PHP 8.5.12 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/showthread.php(1658) : eval()'d code 6 errorHandler->error_callback
/showthread.php 1658 eval




About the construction of lines in the MS
#36
(20-04-2026, 07:41 AM)quimqu wrote: You are not allowed to view links. Register or Login to view.It’s a simple score.

Score (start, end) = base 2 logarithm of ratio of (start, end) probability to interior probability

Python code:
Code:
for _, r in fam_pos.iterrows():     fam = r["family"]     p_end = r["end"] / tot_end if tot_end else 0.0     p_start = r["start"] / tot_start if tot_start else 0.0     p_int = r["interior"] / tot_int if tot_int else 0.0     # Positive value = enriched at line edge relative to interior.     A_end_score[fam] = np.log2(p_end / p_int) if p_end > 0 and p_int > 0 else np.nan     A_start_score[fam] = np.log2(p_start / p_int) if p_start > 0 and p_int > 0 else np.nan
Reply


Messages In This Thread
RE: About the construction of lines in the MS - by nablator - 20-04-2026, 10:19 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)