[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/BRCA-TP/13884423/iteration1/BRCA-TP.patients.counts_and_rates.txt"
[1] "cfn: /xchip/cga/gdac-prod/tcga-gdac/jobResults/Append_Data/BRCA-TP/15076769/BRCA-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/BRCA-TP/15076769/BRCA-TP.merged_data.txt"
[1] "ok3"

nSamples in clinical file=1080, in expression file=977, common to both=967
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] "HISTOLOGICAL_TYPE"                     
[16] "RADIATIONS_RADIATION_REGIMENINDICATION"
[17] "NUMBER_OF_LYMPH_NODES"                 
[18] "RACE"                                  
[19] "ETHNICITY"                             
[20] "BATCH_NUMBER"                          

Input Data has 20 rows and 967 columns.

[1] "Batch" "20"   
[1] "Last Follow UP"
Variable 1:'YEARS_TO_BIRTH':	nDistinctValues=64,	numeric=TRUE,	binary=FALSE,	exclude=FALSE.
Variable 2:'VITAL_STATUS':	nDistinctValues=2,	numeric=TRUE,	binary=TRUE,	exclude=FALSE.
Variable 3:'DAYS_TO_DEATH':	nDistinctValues=119,	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=666,	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=13,	numeric=FALSE,	binary=FALSE,	exclude=FALSE.
Variable 7:'PATHOLOGY_T_STAGE':	nDistinctValues=12,	numeric=FALSE,	binary=FALSE,	exclude=FALSE.
Variable 8:'PATHOLOGY_N_STAGE':	nDistinctValues=16,	numeric=FALSE,	binary=FALSE,	exclude=FALSE.
Variable 9:'PATHOLOGY_M_STAGE':	nDistinctValues=4,	numeric=FALSE,	binary=FALSE,	exclude=FALSE.
Variable 10:'DCC_UPLOAD_DATE':	nDistinctValues=5,	numeric=FALSE,	binary=FALSE,	exclude=TRUE.
[1] "exclude grep('DATE', vnms) to deal with survival parameters seperately"
Variable 11:'GENDER':	nDistinctValues=2,	numeric=FALSE,	binary=FALSE,	exclude=FALSE.
Variable 12:'DATE_OF_INITIAL_PATHOLOGIC_DIAGNOSIS':	nDistinctValues=26,	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=2,	numeric=TRUE,	binary=FALSE,	exclude=TRUE.
[1] "DAYS_TO_LAST_KNOWN_ALIVE 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"
            315     412    
freq.values "1"     "1"    
freq >=3    "FALSE" "FALSE"
Variable 14:'RADIATION_THERAPY':	nDistinctValues=1,	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:'HISTOLOGICAL_TYPE':	nDistinctValues=8,	numeric=FALSE,	binary=FALSE,	exclude=FALSE.
Variable 16:'RADIATIONS_RADIATION_REGIMENINDICATION':	nDistinctValues=2,	numeric=FALSE,	binary=FALSE,	exclude=FALSE.
Variable 17:'NUMBER_OF_LYMPH_NODES':	nDistinctValues=29,	numeric=TRUE,	binary=FALSE,	exclude=FALSE.
Variable 18:'RACE':	nDistinctValues=4,	numeric=FALSE,	binary=FALSE,	exclude=FALSE.
Variable 19:'ETHNICITY':	nDistinctValues=2,	numeric=FALSE,	binary=FALSE,	exclude=FALSE.
Variable 20:'BATCH_NUMBER':	nDistinctValues=37,	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 967 columns, 1 survival variables, and 11 non-survival variables.
[1] "* survival variables: "
[1] "DAYS_TO_DEATH_OR_LAST_FUP" "VITAL_STATUS"             
[1] "* non-survival variables: "
 [1] "YEARS_TO_BIRTH"                        
 [2] "NEOPLASM_DISEASESTAGE"                 
 [3] "PATHOLOGY_T_STAGE"                     
 [4] "PATHOLOGY_N_STAGE"                     
 [5] "PATHOLOGY_M_STAGE"                     
 [6] "GENDER"                                
 [7] "HISTOLOGICAL_TYPE"                     
 [8] "RADIATIONS_RADIATION_REGIMENINDICATION"
 [9] "NUMBER_OF_LYMPH_NODES"                 
[10] "RACE"                                  
[11] "ETHNICITY"                             
[1] "changed to 12 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=64, binary=FALSE, numeric=TRUE
AGE_mutation.rate, nv=64, binary=FALSE, numeric=TRUE
$MUTATIONRATE_NONSYNONYMOUS

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

Residuals:
       Min         1Q     Median         3Q        Max 
-3.240e-06 -1.554e-06 -9.230e-07 -1.440e-07  1.369e-04 

Coefficients:
              Estimate Std. Error t value Pr(>|t|)   
(Intercept) -9.818e-07  1.016e-06  -0.966  0.33418   
vv           5.283e-08  1.690e-08   3.127  0.00182 **
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1 

Residual standard error: 6.832e-06 on 952 degrees of freedom
  (13 observations deleted due to missingness)
Multiple R-squared: 0.01017,	Adjusted R-squared: 0.009128 
F-statistic: 9.779 on 1 and 952 DF,  p-value: 0.001819 


$MUTATIONRATE_SILENT

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

Residuals:
       Min         1Q     Median         3Q        Max 
-8.686e-07 -4.298e-07 -2.527e-07 -3.030e-08  3.045e-05 

Coefficients:
              Estimate Std. Error t value Pr(>|t|)   
(Intercept) -2.853e-07  2.705e-07  -1.055  0.29189   
vv           1.436e-08  4.498e-09   3.192  0.00146 **
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1 

Residual standard error: 1.819e-06 on 952 degrees of freedom
  (13 observations deleted due to missingness)
Multiple R-squared: 0.01059,	Adjusted R-squared: 0.009549 
F-statistic: 10.19 on 1 and 952 DF,  p-value: 0.00146 


NEOPLASM_DISEASESTAGE, nv=13, 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 
257 559 114  35 
PATHOLOGY_N_STAGE, nv=4, binary=FALSE, numeric=TRUE
[1] "PATHOLOGY_N_STAGE"
[1] "num to class table"
vv1
 N0  N1  N2  N3 
461 319 106  66 
PATHOLOGY_M_STAGE, nv=2, binary=FALSE, numeric=TRUE
GENDER, nv=2, binary=FALSE, numeric=FALSE
HISTOLOGICAL_TYPE, nv=8, binary=FALSE, numeric=FALSE
RADIATIONS_RADIATION_REGIMENINDICATION, nv=2, binary=FALSE, numeric=FALSE
NUMBER_OF_LYMPH_NODES, nv=29, binary=FALSE, numeric=TRUE
RACE, nv=4, binary=FALSE, numeric=FALSE
ETHNICITY, nv=2, binary=FALSE, numeric=FALSE
[1] "saved param, results, example.expr in analysis.result.Rdata "
