title: correlation computation with threshold in R
body: <p>I would like to compute correlations in R. However I have a lot of missing values. So, I would like to admit in the correlations matrix only correlations that were calculated from at least 10 pairs of values.
  How to proceed?</p>
  
  <p>Edit:
  please note that correlation matrix is generated from two big matrices X and Y having same individuals (rows).</p>