Homo.sapiens select error
1
0
Entering edit mode
ribioinfo ▴ 100
@ribioinfo-9434
Last seen 2.3 years ago

Dear all, when I use this function: 

simbols.eg <- select(Homo.sapiens,keys=elementMetadatagenes.gr)$gene_id,columns="SYMBOL",keytype="GENEID")

I get this error:

Error in UseMethod("select_") : 
  no applicable method for 'select_' applied to an object of class "c('OrganismDb', 'MultiDb')"

I have the Homo.sapiens 1.3.1 while if I use the version 1.1.2 I have not this problem. Could you help me?

Thank you.

Riccardo

homo.sapiens • 1.7k views
ADD COMMENT
0
Entering edit mode
@steve-lianoglou-2771
Last seen 3 months ago
United States

Looks like you loaded dplyr after the Homo.sapiens package. The "select" method you're calling is from dplyr

You could try something like AnnotationDbi::select(Homo.sapiens, ...)

ADD COMMENT
0
Entering edit mode
Thank you. Very helpful.
ADD REPLY

Login before adding your answer.

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