Compare in cont.matrix part
2
1
Entering edit mode
@mortezahadizade-16792
Last seen 7 weeks ago
Iran

Hi everyone,

In the cont.matrix, can I compare each individual group separately (Not altogether)?

Thanks you very much for your attention.

 

cont.matrix<- makeContrasts (TGFbeta-Control, levels=design)

or

cont.matrix<- makeContrasts (SSc – Control, levels=design)

instead

cont.matrix<- makeContrasts (c('TGFbeta-Control', 'SSc - Control'), levels=design)

microarray R • 717 views
ADD COMMENT
1
Entering edit mode
@james-w-macdonald-5106
Last seen 6 hours ago
United States

It's not clear what you are asking. The last example, if you remove the single quotes, should do what you seem to want. Did you not try that?

ADD COMMENT
0
Entering edit mode

Thank you for your answer, but LogFC is important in our results final (up and down-regulated genes), if I remove the single quotes, LogFC is removed from the analysis result. So I have to compare two groups in cont.matrix.

ADD REPLY
1
Entering edit mode
@gordon-smyth
Last seen 7 minutes ago
WEHI, Melbourne, Australia

Why not either

cont.matrix <- makeContrasts(TGFbeta-Control, SSc–Control, levels=design)

or

cont.matrix <- makeContrasts(contrasts=c('TGFbeta-Control','SSc-Control'), levels=design)

 

It seems so me that reading help("makeContrasts") would answer your questions. There are usage examples at the bottom of the help page.

 

ADD COMMENT
0
Entering edit mode

Thank you for your help

ADD REPLY

Login before adding your answer.

Traffic: 596 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6