knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)

step.down

The goal of step.down is to ...

Installation

You can install the released version of step.down from GitHub with:

# install.packages("devtools")
devtools::install_github("gargoyle1919/step.down")

Example

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


gargoyle1919/step.down documentation built on Dec. 20, 2021, 9:48 a.m.