This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Use of PFAM.db and select function

Hi everyone

I'm trying to use the select() function with the PFAM.db package but I'm not succeeding.

> library("PFAM.db")
> columns(PFAM.db)
#Error in (function (classes, fdef, mtable)  : 
#    unable to find an inherited method for function ‘columns’ for signature ‘"data.frame"’
> keytypes(PFAM.db)
#Error in (function (classes, fdef, mtable)  : 
#    unable to find an inherited method for function ‘columns’ for signature ‘"data.frame"’

Just the ls() function return results, but I don't know how to use it in select()

> ls("package:PFAM.db")
# [1] "PFAM"                  "PFAM_dbconn"           "PFAM_dbfile"           "PFAM_dbInfo"          
# [5] "PFAM_dbschema"         "PFAMCAZY"              "PFAMCAZY2AC"           "PFAMDE"               
# [9] "PFAMDE2AC"             "PFAMHOMSTRAD"          "PFAMHOMSTRAD2AC"       "PFAMID"               
#[13] "PFAMID2AC"             "PFAMINTERPRO"          "PFAMINTERPRO2AC"       "PFAMLOAD"             
#[17] "PFAMLOAD2AC"           "PFAMMAPCOUNTS"         "PFAMMEROPS"            "PFAMMEROPS2AC"        
#[21] "PFAMMIM"               "PFAMMIM2AC"            "PFAMPDB"               "PFAMPDB2AC"           
#[25] "PFAMPRINTS"            "PFAMPRINTS2AC"         "PFAMPROSITE"           "PFAMPROSITE2AC"       
#[29] "PFAMPROSITEPROFILE"    "PFAMPROSITEPROFILE2AC" "PFAMRM"                "PFAMRM2AC"            
#[33] "PFAMSCOP"              "PFAMSCOP2AC"           "PFAMSMART"             "PFAMSMART2AC"         
#[37] "PFAMTC"                "PFAMTC2AC"             "PFAMTP"                "PFAMTP2AC"            
#[41] "PFAMURL"               "PFAMURL2AC"           

> PFAM.2<-select(PFAM.db, keys=keys(PFAM.db, keytypes=c("PFAMID")), columns=c("PFAMPDB", "PFAMINTERPRO"),  keytype="PFAMID")
#Error in (function (classes, fdef, mtable)  : 
#  unable to find an inherited method for function ‘select’ for signature ‘"data.frame"’

Is there anyone that knows how to use the select() function with PFAM.db package?

Thanks!

pfam r bioconductor

1 answer

Mikro Nakliyat Şehiriçi ve kısa mesafe sevkiyat ihtiyaçlarınız için uygun boyutlarda nakliye araçlarımız ile haftanın her günü hizmetinizde. mikro evden eve nakliyat http://www.mikroevdenevenakliyat.com/

Log in to answer this question.