// Generated by using Rcpp::compileAttributes() -> do not edit by hand
// Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393

#include <Rcpp.h>

using namespace Rcpp;

#ifdef RCPP_USE_GLOBAL_ROSTREAM
Rcpp::Rostream<true>&  Rcpp::Rcout = Rcpp::Rcpp_cout_get();
Rcpp::Rostream<false>& Rcpp::Rcerr = Rcpp::Rcpp_cerr_get();
#endif

// checkRow
NumericMatrix checkRow(NumericMatrix x, int maxRows, int rowCol, double wig);
RcppExport SEXP _plotgardener_checkRow(SEXP xSEXP, SEXP maxRowsSEXP, SEXP rowColSEXP, SEXP wigSEXP) {
BEGIN_RCPP
    Rcpp::RObject rcpp_result_gen;
    Rcpp::RNGScope rcpp_rngScope_gen;
    Rcpp::traits::input_parameter< NumericMatrix >::type x(xSEXP);
    Rcpp::traits::input_parameter< int >::type maxRows(maxRowsSEXP);
    Rcpp::traits::input_parameter< int >::type rowCol(rowColSEXP);
    Rcpp::traits::input_parameter< double >::type wig(wigSEXP);
    rcpp_result_gen = Rcpp::wrap(checkRow(x, maxRows, rowCol, wig));
    return rcpp_result_gen;
END_RCPP
}
// rebinBigwig
NumericVector rebinBigwig(DataFrame bigwig, DataFrame bins);
RcppExport SEXP _plotgardener_rebinBigwig(SEXP bigwigSEXP, SEXP binsSEXP) {
BEGIN_RCPP
    Rcpp::RObject rcpp_result_gen;
    Rcpp::RNGScope rcpp_rngScope_gen;
    Rcpp::traits::input_parameter< DataFrame >::type bigwig(bigwigSEXP);
    Rcpp::traits::input_parameter< DataFrame >::type bins(binsSEXP);
    rcpp_result_gen = Rcpp::wrap(rebinBigwig(bigwig, bins));
    return rcpp_result_gen;
END_RCPP
}

static const R_CallMethodDef CallEntries[] = {
    {"_plotgardener_checkRow", (DL_FUNC) &_plotgardener_checkRow, 4},
    {"_plotgardener_rebinBigwig", (DL_FUNC) &_plotgardener_rebinBigwig, 2},
    {NULL, NULL, 0}
};

RcppExport void R_init_plotgardener(DllInfo *dll) {
    R_registerRoutines(dll, NULL, CallEntries, NULL, NULL);
    R_useDynamicSymbols(dll, FALSE);
}
