INNER CODE UNIT · C++
_chromVAR_bg_sample_helper
GreenleafLab/chromVAR · src/RcppExports.cpp:97
RcppExport SEXP _chromVAR_bg_sample_helper(SEXP bin_membershipSEXP, SEXP bin_pSEXP, SEXP bin_densitySEXP, SEXP niterationsSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< arma::uvec >::type bin_membership(bin_membershipSEXP);
Rcpp::traits::input_parameter< arma::mat >::type bin_p(bin_pSEXP);
Rcpp::traits::input_parameter< arma::vec >::type bin_density(bin_densitySEXP);
Rcpp::traits::input_parameter< arma::uword >::type niterations(niterationsSEXP);
rcpp_result_gen = Rcpp::wrap(bg_sample_helper(bin_membership, bin_p, bin_density, niterations));
return rcpp_result_gen;
END_RCPP
}
// euc_dist
arma::mat euc_dist(arma::mat x);
RcppExport SEXP _chromVAR_euc_dist(SEXP xSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;