knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
The goal of step.down is to ...
You can install the released version of step.down from GitHub with:
# install.packages("devtools") devtools::install_github("gargoyle1919/step.down")
This is a basic example which shows you how to solve a common problem:
library(step.down) ## basic example code set.seed(0) x <- rnorm(1000, 1, 1) y <- rnorm(1000) target_scores <- apply(cbind(x, y), 1, max) decoy_scores <- rnorm(1000) result <- step_down(target_scores, decoy_scores, 0.2, 0.1) result$indices_discoveries result$cutoff_score
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.