including information indicating upregulation/downregulation of genes in goana()
1
0
Entering edit mode
jhj89 ▴ 10
@jhj89-9623
Last seen 7.0 years ago

Hi,

To put it simply, I have a list of genes with information about whether they are upregulated or downregulated. What should the format of the input be when using goana() such that I can include the information about upregulation or downregulation of each of the genes? I understand that goana() can accept a vector of genes or MArrayLM fit object.

Thank you.

edger goana • 1.4k views
ADD COMMENT
3
Entering edit mode
@james-w-macdonald-5106
Last seen 15 hours ago
United States

It's not necessarily clear from the help for goana, but there's this:

Arguments:

      de: a vector of Entrez Gene IDs, or a list of such vectors, or an
          'MArrayLM' fit object.

And the trick is the 'a list of such vectors' part, which is what is extracted if you feed goana an MArrayLM object. So if you do

deGenes <- list(Up = <vector of up-regulated Entrez Gene IDs>, Down = <vector of down-regulated Entrez Gene IDs>)

result <- goana(deGenes, universe = <universe of Entrez Gene IDs from your experiment>, <other arguments go here>)

Then you will get tests for up and down regulated genes.

ADD COMMENT
1
Entering edit mode

The example code on the help page for goana might also help. See the example starting ## Default usage.

ADD REPLY
0
Entering edit mode

Dear James and Gordon,

Thank you so much! I got it to work.

ADD REPLY

Login before adding your answer.

Traffic: 699 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