Question: TCGA data from Xena browser and Broad (GDAC Firehose)
0
gravatar for immunogirl2
9 months ago by
immunogirl220
immunogirl220 wrote:

I am an immunologist with very little background in bioinformatics; I can use basic functions in R. So, please bear with me. 1. I have classified TCGA breast cancer patient IDs based on their immune profiles into two groups. 2. I have downloaded TCGA breast cancer RNA-seq data from Xena and Firehose (level 3 normalised and non-normalised). Now, I want to arrange gene expression data into two groups based on my classification in STEP 1. The simple thing i could come up with is to open Firehose data in excel and copy-paste act patients gene expression data one by one into new excel sheet. But, due to data size (cell numbers) i am going crazy. Please help me out here and suggest a simple way to do this in R. I have all the patients IDs already copy-pasted into two groups in excel sheet. Thanks in advance.

rna-seq tcga R • 338 views
ADD COMMENTlink modified 9 months ago by Kevin Blighe66k • written 9 months ago by immunogirl220
2
gravatar for Kevin Blighe
9 months ago by
Kevin Blighe66k
Kevin Blighe66k wrote:

Hey, you just need to do:

  1. Save patient ID lists as TSV or CSV and then read into R via read.table(), read.csv(), fread(), or something else. Eventually you should save these in a vector in R as, e.g., group1IDs and group2IDs
  2. Read the expression data into R - it should already be downloaded as TSV (I think)
  3. Subset the expression data based on the patient IDs

Small queries relating to each step can be found via a search in your search engine of choice.

Kevin

ADD COMMENTlink modified 9 months ago • written 9 months ago by Kevin Blighe66k
1

Thank a lot. I'll try as you suggested.

ADD REPLYlink written 9 months ago by immunogirl220
1

It worked fine. Thanks again.

ADD REPLYlink written 9 months ago by immunogirl220
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 786 users visited in the last hour