We use R to perform all statistical analyses. The race-specific Kaplan-Meier survival curves are created by the function “survfit()” in the package “survival”. P-values for the difference between two races in patient survival time is calculated by the function coxph() in the package “survival”11 and the function rmst2() in the package “survRM2”12. In the implementations, patient-age at the initial clinical date is included as a covariate and the default arguments are used. The functions wilcox() and lm() in the package “stats” are used in the Mann Whitney test and linear regression analysis, respectively.
Do you have any questions about this protocol?
Post your question to gather feedback from the community. We will also invite the authors of this article to respond.