Question: Correlation analysis between gene expression & tumor purity
0
gravatar for newbio17
6 months ago by
newbio1710
newbio1710 wrote:

What I have seen previously in papers is that the authors find genes that are highly correlated with tumor purity.

I'm mainly confused in Paper #1, when author says:

"Spearman correlations were calculated between their expression and tumor purity to generate a ranked list of genes."

If you have a matrix consisting of 50 samples where they are separated into groups of 10 according to the tumor type (5 groups) and 20,000 rows for genes, how do you perform correlation analysis with 50 tumor purity values for the 50 samples to identify the genes that are highly correlated?

ADD COMMENTlink modified 6 months ago by Devon Ryan91k • written 6 months ago by newbio1710
2
gravatar for Devon Ryan
6 months ago by
Devon Ryan91k
Freiburg, Germany
Devon Ryan91k wrote:

They just computed the correlation between each row of gene expression values (50 values) and the 50 purity values and then creating a ranked list of the results. In R you would do that with cor() and apply().

ADD COMMENTlink written 6 months ago by Devon Ryan91k

Thank you. Your posts are always helpful.

ADD REPLYlink written 6 months ago by newbio1710
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: 2118 users visited in the last hour