mdozmorov / TCGAsurvival

Scripts to analyze TCGA data
GNU General Public License v3.0
115 stars 41 forks source link

In TCGA_CNV.rmd I am getting this error. #11

Closed ksrinivasprabhu1999 closed 4 years ago

ksrinivasprabhu1999 commented 4 years ago

[1] "Dimensions of expression matrix, genex X patients: " [1] "Dimensions of clinical matrix, patients X parameters: " [1] "Dimensions of merged matrix, patients X parameters + genes: " [1] "Head of the merged matrix" NULL [1] "Head of the clinical matrix" NULL [1] "List of clinical values, and frequency of each variable: " Error in apply(mtx$clinical, 2, function(x) length(table(x[!(is.na(x) & : dim(X) must have a positive length.

Please help me fix it :)

mdozmorov commented 4 years ago

You need to prepare the data and set the data directory path, as described https://github.com/mdozmorov/TCGAsurvival#data-preparation