Skip to content

Commit

Permalink
fix check for problematic map
Browse files Browse the repository at this point in the history
  • Loading branch information
Koon-Kiu Yan of group gerstein committed Feb 18, 2018
1 parent ee44ec0 commit 17d1f97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion HiC_spector.jl
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ function get_reproducibility(M1,M2,num_evec);

evs=abs(sqrt(2)-Sd/num_evec_eff)/sqrt(2);

if (sum(ipr1>N/100)<=1)|(sum(ipr2>N/100)<=1)
if (sum(ipr1.>N/100)<=1)|(sum(ipr2.>N/100)<=1)
print("at least one of the maps does not look like typical Hi-C maps")
evs=NaN;
end
Expand Down

0 comments on commit 17d1f97

Please sign in to comment.