INNER CODE UNIT · C++

_chromVAR_ProbSampleReplace

GreenleafLab/chromVAR · src/RcppExports.cpp:85

RcppExport SEXP _chromVAR_ProbSampleReplace(SEXP sizeSEXP, SEXP probSEXP) {
BEGIN_RCPP
    Rcpp::RObject rcpp_result_gen;
    Rcpp::RNGScope rcpp_rngScope_gen;
    Rcpp::traits::input_parameter< int >::type size(sizeSEXP);
    Rcpp::traits::input_parameter< arma::vec >::type prob(probSEXP);
    rcpp_result_gen = Rcpp::wrap(ProbSampleReplace(size, prob));
    return rcpp_result_gen;
END_RCPP
}
// bg_sample_helper
arma::umat bg_sample_helper(arma::uvec bin_membership, arma::mat bin_p, arma::vec bin_density, arma::uword niterations);
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);

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…