Hi Hamid, thanks a lot for your help.
I download the "phenotype" file from TCGA for the project PAAD-pancreatic tumor.
I put an example below with few rows of such file: example data table.
in _PATIENT there are the samples of pancreatic tumor. For these patients I want to know if they had metastases, so i go and check the second columns.
Then I want to know the site of the metastasis and so i consider the third column. For the same project I downloaded RNAseq data. Now I want to get data for the sample TCGA-2J-AABO-01 (that is pancreatic tumor sample since in the column sample_type is Primary Tumor). So i go to the RNAseq matrix and take this column.
Now I also want to get the data fthe correspondent metastasis in that patient, so i want the RNAseq data of that Liver metastasis. However, to get it, i need to know the sampleID of the metastasis. How can i get such ID and then the Rnaseq data?
I hope now my problem is more clear!
