getOC | R Documentation |
Given a set of data including survival time ,censor status and Biomarker values, return the Optimal cutoff for the biomarker.
getOC(data, cutoff, type = 2)
data |
A data frame which contains 3 columns for cox regression : survival time, censor status, Biomarker values. 2 columns for linear regression : Y, X. |
cutoff |
Numeric vector of candidate cutoffs. |
type |
A number; if =1, will perform linear regression;if =2(default) will perform cox regerssion. |
Optimal cutoff for the biomarker, the FWER of the model
BOSS - Biomarker Optimal Segmentation System
cutoff=c(56,112,167,223,278,334,389,445)
data(myGene)
getOC(data=myGene,cutoff)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.