powered by
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)
Optimal cutoff for the biomarker, the FWER of the model
A data frame which contains 3 columns for cox regression : survival time, censor status, Biomarker values. 2 columns for linear regression : Y, X.
Numeric vector of candidate cutoffs.
A number; if =1, will perform linear regression;if =2(default) will perform cox regerssion.
BOSS - Biomarker Optimal Segmentation System
cutoff=c(56,112,167,223,278,334,389,445) data(myGene) getOC(data=myGene,cutoff)
Run the code above in your browser using DataLab