scglue.genomics.dist_power_decay

scglue.genomics.dist_power_decay(x)[源代码]

Distance-based power decay weight, computed as \(w = {\left( \frac {d + 1000} {1000} \right)} ^ {-0.75}\)

参数:

x (int) – Distance (in bp)

返回类型:

float

返回:

weight – Decaying weight