iCLIP.distance.findMinDistance

iCLIP.distance.findMinDistance(profile1, profile2)

Finds mean distance between each cross-link in profile1 and the closest cross-link in profile2

Parameters:profile2 (profile1,) – Profiles to calculate distances on. Index is expected to be genome or transcriptome coordinates.
Returns:Mean of the distance between each cross-link in profile1 and the closet cross-link in profile2_ready
Return type:float

Note

In order that findMinDistance(profile1, profile2) == findMinDistance( profile2, profile1), the number of cross-links on each site is ignored.