[1] "libdir: /xchip/tcga/gdac_prod/applications/process_mgmt/firehose_task_registry/tcga-gdac/ClinicalAnalysisAllGenes_new/broadinstitute.org/cancer.genome.analysis/00333/69/"
[1] "op: MUTATION_RATE"
[1] "dfn: /xchip/cga/gdac-prod/tcga-gdac/jobResults/MutSigRun/KIRC-TP/15095985/KIRC-TP.patients.counts_and_rates.txt"
[1] "cfn: /xchip/cga/gdac-prod/tcga-gdac/jobResults/Append_Data/KIRC-TP/15081616/KIRC-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/KIRC-TP/15081616/KIRC-TP.merged_data.txt"
[1] "ok3"

nSamples in clinical file=533, in expression file=451, common to both=451
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] "PRIMARY_SITE_OF_DISEASE"               
 [6] "NEOPLASM_DISEASESTAGE"                 
 [7] "PATHOLOGY_T_STAGE"                     
 [8] "PATHOLOGY_N_STAGE"                     
 [9] "PATHOLOGY_M_STAGE"                     
[10] "DCC_UPLOAD_DATE"                       
[11] "GENDER"                                
[12] "DATE_OF_INITIAL_PATHOLOGIC_DIAGNOSIS"  
[13] "DAYS_TO_LAST_KNOWN_ALIVE"              
[14] "RADIATION_THERAPY"                     
[15] "KARNOFSKY_PERFORMANCE_SCORE"           
[16] "HISTOLOGICAL_TYPE"                     
[17] "RADIATIONS_RADIATION_REGIMENINDICATION"
[18] "NUMBER_PACK_YEARS_SMOKED"              
[19] "YEAR_OF_TOBACCO_SMOKING_ONSET"         
[20] "RACE"                                  
[21] "ETHNICITY"                             
[22] "BATCH_NUMBER"                          

Input Data has 22 rows and 451 columns.

[1] "Batch" "22"   
[1] "Last Follow UP"
Variable 1:'YEARS_TO_BIRTH':	nDistinctValues=58,	numeric=TRUE,	binary=FALSE,	exclude=FALSE.
Variable 2:'VITAL_STATUS':	nDistinctValues=2,	numeric=TRUE,	binary=TRUE,	exclude=FALSE.
Variable 3:'DAYS_TO_DEATH':	nDistinctValues=141,	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=296,	numeric=TRUE,	binary=FALSE,	exclude=TRUE.
[1] "exclude grep('FOLLOWUP', vnms) to deal with survival parameters seperately"
Variable 5:'PRIMARY_SITE_OF_DISEASE':	nDistinctValues=1,	numeric=FALSE,	binary=FALSE,	exclude=TRUE.
[1] "PRIMARY_SITE_OF_DISEASE is excluded in the analysis because there is no more than two cases of (unique non-NA values)"
Variable 6:'NEOPLASM_DISEASESTAGE':	nDistinctValues=4,	numeric=FALSE,	binary=FALSE,	exclude=FALSE.
Variable 7:'PATHOLOGY_T_STAGE':	nDistinctValues=11,	numeric=FALSE,	binary=FALSE,	exclude=FALSE.
Variable 8:'PATHOLOGY_N_STAGE':	nDistinctValues=3,	numeric=FALSE,	binary=FALSE,	exclude=FALSE.
Variable 9:'PATHOLOGY_M_STAGE':	nDistinctValues=2,	numeric=FALSE,	binary=FALSE,	exclude=FALSE.
Variable 10:'DCC_UPLOAD_DATE':	nDistinctValues=1,	numeric=FALSE,	binary=FALSE,	exclude=TRUE.
[1] "DCC_UPLOAD_DATE is excluded in the analysis because there is no more than two cases of (unique non-NA values)"
Variable 11:'GENDER':	nDistinctValues=2,	numeric=FALSE,	binary=FALSE,	exclude=FALSE.
Variable 12:'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 13:'DAYS_TO_LAST_KNOWN_ALIVE':	nDistinctValues=49,	numeric=TRUE,	binary=FALSE,	exclude=TRUE.
[1] "exclude grep('DAYS_?TO', vnms) to deal with survival parameters seperately"
Variable 14:'RADIATION_THERAPY':	nDistinctValues=0,	numeric=FALSE,	binary=FALSE,	exclude=TRUE.
[1] "RADIATION_THERAPY is excluded in the analysis because there is no more than two cases of (unique non-NA values)"
Variable 15:'KARNOFSKY_PERFORMANCE_SCORE':	nDistinctValues=4,	numeric=TRUE,	binary=FALSE,	exclude=FALSE.
Variable 16:'HISTOLOGICAL_TYPE':	nDistinctValues=1,	numeric=FALSE,	binary=FALSE,	exclude=TRUE.
[1] "HISTOLOGICAL_TYPE is excluded in the analysis because there is no more than two cases of (unique non-NA values)"
Variable 17:'RADIATIONS_RADIATION_REGIMENINDICATION':	nDistinctValues=2,	numeric=FALSE,	binary=FALSE,	exclude=TRUE.
[1] "RADIATIONS_RADIATION_REGIMENINDICATION excluded in the analysis because there is no case of (both >= 3) in the table below"
              NO      YES    
freq.values   "1"     "450"  
freq.contrast "450"   "1"    
both >= 3     "FALSE" "FALSE"
Variable 18:'NUMBER_PACK_YEARS_SMOKED':	nDistinctValues=2,	numeric=TRUE,	binary=FALSE,	exclude=TRUE.
[1] "NUMBER_PACK_YEARS_SMOKED is excluded in the analysis because there is no more than two cases of (freq>=3) when the number of (unique non-NA values) is two"
            10      40     
freq.values "1"     "2"    
freq >=3    "FALSE" "FALSE"
Variable 19:'YEAR_OF_TOBACCO_SMOKING_ONSET':	nDistinctValues=1,	numeric=FALSE,	binary=FALSE,	exclude=TRUE.
[1] "YEAR_OF_TOBACCO_SMOKING_ONSET is excluded in the analysis because there is no more than two cases of (unique non-NA values)"
Variable 20:'RACE':	nDistinctValues=3,	numeric=FALSE,	binary=FALSE,	exclude=FALSE.
Variable 21:'ETHNICITY':	nDistinctValues=2,	numeric=FALSE,	binary=FALSE,	exclude=FALSE.
Variable 22:'BATCH_NUMBER':	nDistinctValues=11,	numeric=FALSE,	binary=FALSE,	exclude=TRUE.
[1] NA
[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] "PATHOLOGY_M_STAGE is converted to rank data using modified categoies"
[1] "****** SUMMARY ***** "
Output Data has 451 columns, 1 survival variables, and 9 non-survival variables.
[1] "* survival variables: "
[1] "DAYS_TO_DEATH_OR_LAST_FUP" "VITAL_STATUS"             
[1] "* non-survival variables: "
[1] "YEARS_TO_BIRTH"              "NEOPLASM_DISEASESTAGE"      
[3] "PATHOLOGY_T_STAGE"           "PATHOLOGY_N_STAGE"          
[5] "PATHOLOGY_M_STAGE"           "GENDER"                     
[7] "KARNOFSKY_PERFORMANCE_SCORE" "RACE"                       
[9] "ETHNICITY"                  
[1] "changed to 10 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=58, binary=FALSE, numeric=TRUE
AGE_mutation.rate, nv=58, binary=FALSE, numeric=TRUE
$MUTATIONRATE_NONSYNONYMOUS

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

Residuals:
       Min         1Q     Median         3Q        Max 
-1.737e-06 -8.376e-07 -4.977e-07  4.840e-08  2.627e-05 

Coefficients:
             Estimate Std. Error t value Pr(>|t|)  
(Intercept) 1.227e-06  5.865e-07   2.091   0.0371 *
vv          1.304e-08  9.501e-09   1.373   0.1705  
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1 

Residual standard error: 2.435e-06 on 449 degrees of freedom
Multiple R-squared: 0.004179,	Adjusted R-squared: 0.001961 
F-statistic: 1.884 on 1 and 449 DF,  p-value: 0.1705 


$MUTATIONRATE_SILENT

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

Residuals:
       Min         1Q     Median         3Q        Max 
-5.206e-07 -1.976e-07 -7.440e-08  7.920e-08  5.039e-06 

Coefficients:
             Estimate Std. Error t value Pr(>|t|)   
(Intercept) 1.847e-07  1.011e-07   1.827  0.06842 . 
vv          5.333e-09  1.638e-09   3.256  0.00121 **
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1 

Residual standard error: 4.197e-07 on 449 degrees of freedom
Multiple R-squared: 0.02307,	Adjusted R-squared: 0.0209 
F-statistic:  10.6 on 1 and 449 DF,  p-value: 0.001214 


NEOPLASM_DISEASESTAGE, nv=4, binary=FALSE, numeric=FALSE
PATHOLOGY_T_STAGE, nv=4, binary=FALSE, numeric=TRUE
[1] "PATHOLOGY_T_STAGE"
[1] "num to class table"
vv1
 T1  T2  T3  T4 
223  57 164   7 
PATHOLOGY_N_STAGE, nv=2, binary=FALSE, numeric=TRUE
PATHOLOGY_M_STAGE, nv=2, binary=FALSE, numeric=TRUE
GENDER, nv=2, binary=FALSE, numeric=FALSE
KARNOFSKY_PERFORMANCE_SCORE, nv=4, binary=FALSE, numeric=TRUE
[1] "KARNOFSKY_PERFORMANCE_SCORE"
[1] "num to class table"
vv1
  0  80  90 100 
  1   3  12  14 
RACE, nv=3, binary=FALSE, numeric=FALSE
ETHNICITY, nv=2, binary=FALSE, numeric=FALSE
[1] "saved param, results, example.expr in analysis.result.Rdata "
