This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Rcpp.h> | |
#include "edlib_external.h" | |
// [[Rcpp::depends(edlibR)]] | |
using namespace Rcpp; | |
// [[Rcpp::export]] | |
List edlib_test_basic() { | |
// simple example | |
std::string query = "GATTACA"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ggplot2 + scam monotonic smoother | |
# alpha works on the line when se = FALSE | |
# Depends: ggplot2, scam | |
StatSmoothMonotonic <- ggplot2::ggproto( | |
"StatSmoothMonotonic", ggplot2::Stat, | |
required_aes = c("x", "y"), | |
compute_group = function(data, scales, | |
se = TRUE, level = 0.95, n = 100, | |
k = 10, dir = c("increasing","decreasing"), |
OlderNewer