INNER CODE UNIT · C++
_bigsnpr_corMat
privefl/bigsnpr · src/RcppExports.cpp:242
RcppExport SEXP _bigsnpr_corMat(SEXP objSEXP, SEXP rowIndSEXP, SEXP colIndSEXP, SEXP sizeSEXP, SEXP thrSEXP, SEXP posSEXP, SEXP fill_diagSEXP, SEXP ncoresSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< Environment >::type obj(objSEXP);
Rcpp::traits::input_parameter< const IntegerVector& >::type rowInd(rowIndSEXP);
Rcpp::traits::input_parameter< const IntegerVector& >::type colInd(colIndSEXP);
Rcpp::traits::input_parameter< double >::type size(sizeSEXP);
Rcpp::traits::input_parameter< const NumericVector& >::type thr(thrSEXP);
Rcpp::traits::input_parameter< const NumericVector& >::type pos(posSEXP);
Rcpp::traits::input_parameter< bool >::type fill_diag(fill_diagSEXP);
Rcpp::traits::input_parameter< int >::type ncores(ncoresSEXP);
rcpp_result_gen = Rcpp::wrap(corMat(obj, rowInd, colInd, size, thr, pos, fill_diag, ncores));
return rcpp_result_gen;
END_RCPP
}
// impute
void impute(Environment BM, int method, int ncores);