Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/base_CorrectTNM.R
Version control for TCGA TNM stage
1 2 3 | CorrectTNM(data, version = "stageVesion", toVersion = 8,
T.status = "pT", N.status = "pN", M.status = "M.status",
Np.counts = "Np.count", correctFile = NULL)
|
data |
design object |
version |
the colname of AJCC stage version.Note that the element of version should be "6th" like. |
toVersion |
the final version you want to change. |
T.status |
the colnames of T stage |
N.status |
the colnames of N stage |
M.status |
the colnames of M stage |
Np.counts |
the colnames of positive lymph nodes |
correctFile |
the path of reference database.Default = |
The most part of correction is the data from correctFile
. It should be kept latest.
For gastric cancer,before 5th(including 4th),the nodal involvement is classified into pN0, pN1, and pN2, based on the site of the metastasis in relation to the primary tumor.Afterwards,the number of positive lymph nodes become the details to stage N.
a data frame
Weibin Huang<654751191@qq.com>
1 2 3 4 5 6 7 8 9 10 11 | ## get your design data
load("E:/RCloud/database/DataDownload/TCGA-TCGABiolinks/STAD_Download/2018-12-3/design_STAD.rda")
colnames(design)
data = design
## update the TNM stage to 8th version
data2 <- CorrectTNM(data,
version = "stageVesion",
toVersion = 8,
T.status = "pT",
Np.counts = "Np.count",
M.status = "M.status")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.