[1] "libdir: /xchip/tcga/gdac_prod/applications/process_mgmt/firehose_task_registry/tcga-gdac/ClinicalAnalysisAllGenes_new/broadinstitute.org/cancer.genome.analysis/00333/74/"
[1] "op: MUTATION_RATE"
[1] "dfn: /xchip/cga/gdac-prod/tcga-gdac/jobResults/MutSigRun/PRAD-TP/22542980/iteration1/PRAD-TP.patients.counts_and_rates.txt"
[1] "cfn: /xchip/cga/gdac-prod/tcga-gdac/jobResults/Append_Data/PRAD-TP/22506989/PRAD-TP.merged_data.txt"
[1] "gv: ALL"
[1] "gfn: "
[1] "sfn: "
[1] "fv: ALL"
[1] "ofn: "
[1] "dx: "
[1] "cfn"
[1] "/xchip/cga/gdac-prod/tcga-gdac/jobResults/Append_Data/PRAD-TP/22506989/PRAD-TP.merged_data.txt"
[1] "ok3"

nSamples in clinical file=499, in expression file=498, common to both=498
Number of genes in original expression dataset=2
[1] "ALL"
[1] "data2feature, selection=ALL"
 [1] "YEARS_TO_BIRTH"                      
 [2] "VITAL_STATUS"                        
 [3] "DAYS_TO_DEATH"                       
 [4] "DAYS_TO_LAST_FOLLOWUP"               
 [5] "TUMOR_TISSUE_SITE"                   
 [6] "PATHOLOGIC_STAGE"                    
 [7] "PATHOLOGY_T_STAGE"                   
 [8] "PATHOLOGY_N_STAGE"                   
 [9] "PATHOLOGY_M_STAGE"                   
[10] "GENDER"                              
[11] "DATE_OF_INITIAL_PATHOLOGIC_DIAGNOSIS"
[12] "RADIATION_THERAPY"                   
[13] "HISTOLOGICAL_TYPE"                   
[14] "RESIDUAL_TUMOR"                      
[15] "NUMBER_OF_LYMPH_NODES"               
[16] "GLEASON_SCORE"                       
[17] "PSA_VALUE"                           
[18] "DAYS_TO_PSA"                         
[19] "RACE"                                
[20] "ETHNICITY"                           

Input Data has 20 rows and 498 columns.

[1] "Last Follow UP"
Variable 1:'YEARS_TO_BIRTH':	nDistinctValues=36,	numeric=TRUE,	binary=FALSE,	exclude=FALSE.
Variable 2:'VITAL_STATUS':	nDistinctValues=2,	numeric=TRUE,	binary=TRUE,	exclude=FALSE.
Variable 3:'DAYS_TO_DEATH':	nDistinctValues=10,	numeric=TRUE,	binary=FALSE,	exclude=TRUE.
[1] "exclude grep('DAYS_?TO', vnms) to deal with survival parameters seperately"
Variable 4:'DAYS_TO_LAST_FOLLOWUP':	nDistinctValues=432,	numeric=TRUE,	binary=FALSE,	exclude=TRUE.
[1] "exclude grep('FOLLOWUP', vnms) to deal with survival parameters seperately"
Variable 5:'TUMOR_TISSUE_SITE':	nDistinctValues=1,	numeric=FALSE,	binary=FALSE,	exclude=TRUE.
[1] "TUMOR_TISSUE_SITE is excluded in the analysis because there is no more than two cases of (unique non-NA values)"
Variable 6:'PATHOLOGIC_STAGE':	nDistinctValues=0,	numeric=FALSE,	binary=FALSE,	exclude=TRUE.
[1] "PATHOLOGIC_STAGE is excluded in the analysis because there is no more than two cases of (unique non-NA values)"
Variable 7:'PATHOLOGY_T_STAGE':	nDistinctValues=6,	numeric=FALSE,	binary=FALSE,	exclude=FALSE.
Variable 8:'PATHOLOGY_N_STAGE':	nDistinctValues=2,	numeric=FALSE,	binary=FALSE,	exclude=FALSE.
Variable 9:'PATHOLOGY_M_STAGE':	nDistinctValues=0,	numeric=FALSE,	binary=FALSE,	exclude=TRUE.
[1] "PATHOLOGY_M_STAGE is excluded in the analysis because there is no more than two cases of (unique non-NA values)"
Variable 10:'GENDER':	nDistinctValues=1,	numeric=FALSE,	binary=FALSE,	exclude=TRUE.
[1] "GENDER is excluded in the analysis because there is no more than two cases of (unique non-NA values)"
Variable 11:'DATE_OF_INITIAL_PATHOLOGIC_DIAGNOSIS':	nDistinctValues=13,	numeric=TRUE,	binary=FALSE,	exclude=TRUE.
[1] "exclude grep('DATE', vnms) to deal with survival parameters seperately"
Variable 12:'RADIATION_THERAPY':	nDistinctValues=2,	numeric=FALSE,	binary=FALSE,	exclude=FALSE.
Variable 13:'HISTOLOGICAL_TYPE':	nDistinctValues=2,	numeric=FALSE,	binary=FALSE,	exclude=FALSE.
Variable 14:'RESIDUAL_TUMOR':	nDistinctValues=4,	numeric=FALSE,	binary=FALSE,	exclude=FALSE.
Variable 15:'NUMBER_OF_LYMPH_NODES':	nDistinctValues=11,	numeric=TRUE,	binary=FALSE,	exclude=FALSE.
Variable 16:'GLEASON_SCORE':	nDistinctValues=5,	numeric=TRUE,	binary=FALSE,	exclude=FALSE.
Variable 17:'PSA_VALUE':	nDistinctValues=94,	numeric=TRUE,	binary=FALSE,	exclude=FALSE.
Variable 18:'DAYS_TO_PSA':	nDistinctValues=383,	numeric=TRUE,	binary=FALSE,	exclude=TRUE.
[1] "exclude grep('DAYS_?TO', vnms) to deal with survival parameters seperately"
Variable 19:'RACE':	nDistinctValues=3,	numeric=FALSE,	binary=FALSE,	exclude=FALSE.
Variable 20:'ETHNICITY':	nDistinctValues=1,	numeric=FALSE,	binary=FALSE,	exclude=TRUE.
[1] "ETHNICITY is excluded in the analysis because there is no more than two cases of (unique non-NA values)"
[1] "## **** detect survival parameters (defined in index such as ind_OS, ind_MFS, ind_RFS, ind_RFS, ind_BCR and ind_d2ssd) *** ##"
[1] "detected survival parameters using [ind_OS, overall_survival]"
[1] "survival parameters accumulated so far"
[1] "DAYS_TO_DEATH_OR_LAST_FUP" "VITAL_STATUS"             
[1] "detected survival parameters using [ind_OS, curated_overall_survival]"
[1] "survival parameters accumulated so far"
[1] "DAYS_TO_DEATH_OR_LAST_FUP" "VITAL_STATUS"             
[1] "detected survival parameters using [ind_TCGAOS]"
[1] "survival parameters accumulated so far"
[1] "DAYS_TO_DEATH_OR_LAST_FUP" "VITAL_STATUS"             
[1] "detected survivial parameters using [ind_MFS]"
[1] "survival parameters accumulated so far"
[1] "DAYS_TO_DEATH_OR_LAST_FUP" "VITAL_STATUS"             
[1] "detected survival parameters using [ind_RFS]"
[1] "survival parameters accumulated so far"
[1] "DAYS_TO_DEATH_OR_LAST_FUP" "VITAL_STATUS"             
[1] "detected survival parameters using [ind_BCR]"
[1] "survival parameters accumulated so far"
[1] "DAYS_TO_DEATH_OR_LAST_FUP" "VITAL_STATUS"             
[1] "detected survival parameters using [ind_Progression]"
[1] "survival parameters accumulated so far"
[1] "DAYS_TO_DEATH_OR_LAST_FUP" "VITAL_STATUS"             
[1] "detected survival parameters using [index_additional_survival_time]"
[1] "survival parameters accumulated so far"
[1] "DAYS_TO_DEATH_OR_LAST_FUP" "VITAL_STATUS"             
[1] "detected survival parameters using condition: [is.null(surv.mat)&&(selection=='SURV')]"
[1] "survival parameters accumulated so far"
[1] "DAYS_TO_DEATH_OR_LAST_FUP" "VITAL_STATUS"             
[1] "************ conversion from categorical data to rank data ********** "
[1] "PATHOLOGY_T_STAGE is converted to numeric rank data using modified categoies"
[1] "PATHOLOGY_N_STAGE is converted to numeric rank data using modified categoies"
[1] "****** SUMMARY ***** "
Output Data has 498 columns, 1 survival variables, and 10 non-survival variables.
[1] "* survival variables: "
[1] "DAYS_TO_DEATH_OR_LAST_FUP" "VITAL_STATUS"             
[1] "* non-survival variables: "
 [1] "YEARS_TO_BIRTH"        "PATHOLOGY_T_STAGE"     "PATHOLOGY_N_STAGE"    
 [4] "RADIATION_THERAPY"     "HISTOLOGICAL_TYPE"     "RESIDUAL_TUMOR"       
 [7] "NUMBER_OF_LYMPH_NODES" "GLEASON_SCORE"         "PSA_VALUE"            
[10] "RACE"                 
[1] "changed to 11 non-survival variables adding another age variable for linear regression analysis on mutaion rate."
[1] "DAYS_TO_DEATH_OR_LAST_FUP"
[1] "DAYS_TO_DEATH_OR_LAST_FUP"
[1] "D"                         "DAYS_TO_DEATH_OR_LAST_FUP"
[3] "Month"                    
[1] "check if there is any case_to_report in survival time data or not"
[1] "alarming case(s) exist!"
[1] "[  1  ] case_to_report(s) is(are) excluded in survival analysis"
AGE, nv=36, binary=FALSE, numeric=TRUE
AGE_mutation.rate, nv=36, binary=FALSE, numeric=TRUE
$MUTATIONRATE_NONSYNONYMOUS

Call:
lm(formula = as.numeric(i) ~ vv)

Residuals:
       Min         1Q     Median         3Q        Max 
-3.188e-06 -1.131e-06 -4.720e-07  2.490e-07  1.743e-04 

Coefficients:
              Estimate Std. Error t value Pr(>|t|)   
(Intercept) -7.766e-06  3.295e-06  -2.357  0.01882 * 
vv           1.488e-07  5.366e-08   2.773  0.00576 **
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1 

Residual standard error: 8.052e-06 on 485 degrees of freedom
  (11 observations deleted due to missingness)
Multiple R-squared: 0.01561,	Adjusted R-squared: 0.01358 
F-statistic: 7.691 on 1 and 485 DF,  p-value: 0.005762 


$MUTATIONRATE_SILENT

Call:
lm(formula = as.numeric(i) ~ vv)

Residuals:
       Min         1Q     Median         3Q        Max 
-1.143e-06 -4.030e-07 -1.790e-07  1.080e-07  6.454e-05 

Coefficients:
              Estimate Std. Error t value Pr(>|t|)   
(Intercept) -2.903e-06  1.217e-06  -2.386  0.01744 * 
vv           5.441e-08  1.982e-08   2.745  0.00628 **
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1 

Residual standard error: 2.974e-06 on 485 degrees of freedom
  (11 observations deleted due to missingness)
Multiple R-squared: 0.0153,	Adjusted R-squared: 0.01327 
F-statistic: 7.534 on 1 and 485 DF,  p-value: 0.006278 


PATHOLOGY_T_STAGE, nv=3, binary=FALSE, numeric=TRUE
[1] "PATHOLOGY_T_STAGE"
[1] "num to class table"
vv1
 T2  T3  T4 
188 293  10 
PATHOLOGY_N_STAGE, nv=2, binary=FALSE, numeric=TRUE
RADIATION_THERAPY, nv=2, binary=FALSE, numeric=FALSE
HISTOLOGICAL_TYPE, nv=2, binary=FALSE, numeric=FALSE
RESIDUAL_TUMOR, nv=4, binary=FALSE, numeric=FALSE
NUMBER_OF_LYMPH_NODES, nv=11, binary=FALSE, numeric=TRUE
GLEASON_SCORE, nv=5, binary=FALSE, numeric=TRUE
[1] "GLEASON_SCORE"
[1] "num to class table"
vv1
  6   7   8   9  10 
 45 248  64 137   4 
PSA_VALUE, nv=94, binary=FALSE, numeric=TRUE
RACE, nv=3, binary=FALSE, numeric=FALSE
[1] "saved param, results, example.expr in analysis.result.Rdata "
