Description Usage Arguments Value Examples
Calculate per-separation point hazard ratio thresholds
1 | bootstrapThresholds(bs_dfr, n_sd = 1.96)
|
bs_dfr |
A matrix of bootstrapped hazard ratio computations as ordered by a random measurement vector. Typically consisting of 5-10,000 repeat samplings |
n_sd |
The number of standard deviations used to define threshold width. 95 deviation of 1.96 |
A dataframe of per-separation point mean, upper and lower thresholds
1 2 3 4 5 6 7 8 9 10 | data(nki_subset)
library(Biobase)
library(magrittr)
library(ggplot2)
#simulate example HR bootstrapped data
bs_dfr <- matrix(rnorm(150000), ncol = 1000, nrow = 150)
#calculate thresholds
thresholds <- bootstrapThresholds(bs_dfr)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.