INNER CODE UNIT · C++

mat2s

GreenleafLab/chromVAR · src/pwm_similarity.cpp:45

        mat2s = mat2.cols(0, m - i - 1);
      }
    }

    tmp = pwm_euclidean(mat1s,mat2s);

    if (i == min_overlap - 1){
      out(1) = (double)i - (double)n2 + 1;
      out(0) = tmp;
    } else if (tmp < out(0)){
      out(1) = (double)i - (double)n2 + 1;
      out(0) = tmp;
    }
  }
  return out;
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…