Question: Create list of genes within each GOslim term
gravatar for mirko
21 months ago by
mirko0 wrote:

Hello everyone,

I am trying to create a list containing all GOslim sets for Homo Sapiens, where each element of the list is a vector containing the genes associated to a given gene set.

That is to say, I would like to create an object that looks like this:

$`first gene set`
[1] "geneID 1" "geneID 2" "geneID 3" "geneID 4"

$`second gene set`
[1] "geneID 5" "geneID 6" "geneID 7"

$`third gene set`
[1] "geneID 2"  "geneID 8"  "geneID 9"  "geneID 10"

I don't have that much experience with GO.db, and I wonder whether someone could explain me how to do that.

Thanks for any help,


ADD COMMENTlink modified 21 months ago • written 21 months ago by mirko0
Please log in to add an answer.


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