including information indicating upregulation/downregulation of genes in goana()
1
0
Entering edit mode
jhj89 ▴ 10
@jhj89-9623
Last seen 5.8 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 • 988 views
3
Entering edit mode
@james-w-macdonald-5106
Last seen 1 hour 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.

1
Entering edit mode

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

0
Entering edit mode

Dear James and Gordon,

Thank you so much! I got it to work.