Description Usage Arguments Details Value Examples
This function calculates which proteins are retained at specified significance intervals. For example, when the univariate results are provided, this function returns all proteins that are bonferroni significant.
1 2 |
data |
The Univariate (and Validation) Tibble with Regression Results.
Output of |
.pval |
The significance level to examine which proteins are retained. |
.src |
The tibble in which we examine retained proteins. .src = 1 means the Derivation dataset if the derivation and validation sets are row-bound. |
.terms |
Vector of terms to limit examination of significance to. Not necessary to be specified. |
This function can also be used to check which proteins are retained in validation.
A vector containing all Proteins that were retained by the filter
A Tibble with the Hazard Ratio and Significance of Retained Proteins
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | ## Not run:
plot.data <-
dplyr::bind_rows(univariate.results,
validation.results) %>%
dplyr::mutate(Name = labels[term, "name"])
bonferroni <-
terms.to.keep(plot.data,
.pval = 0.05/length(proteins), 1)
falsediscr <-
terms.to.keep(plot.data,
.pval = 0.05, 1)
retained <-
terms.to.keep(plot.data,
.pval = 0.05, 2,
.terms = bonferroni$kept)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.