OUTRIDER icon indicating copy to clipboard operation
OUTRIDER copied to clipboard

Errors in the codes from pdf OUTRIDER - OUTlier in RNA-Seq fInDER

Open Paranchai opened this issue 1 year ago • 1 comments

Dear Sir/Madam

I was trying to run OUTRIDER with R following the instructions in the pdf file OUTRIDER - OUTlier in RNA-Seq fInDER, and got errors at the following steps:

map <- select(org.Hs.eg.db, keys=keys(txdb, keytype = "GENEID"), keytype="ENTREZID", columns=c("SYMBOL")) Error in UseMethod("select") : no applicable method for 'select' applied to an object of class "c('OrgDb', 'AnnotationDb', 'envRefClass', '.environment', 'refClass', 'environment', 'refObject', 'AssayData')"

library(RMariaDB) library(AnnotationDbi)

con <- dbConnect(MariaDB(), host='genome-mysql.cse.ucsc.edu', dbname="hg19", user='genome') Error: Failed to connect: Can't connect to server on 'genome-mysql.cse.ucsc.edu' (138)

then I change host to db.host and put dot to dbname, which worked but the following command did not work:

con <- dbConnect(MariaDB(), db.host='genome-mysql.cse.ucsc.edu', db.name="hg19", user='genome') map <- dbGetQuery(con, 'select kgId AS TXNAME, geneSymbol from kgXref') Error: No database selected [1046]

Do you know why?

I am looking forward to hearing from you soon. Best regards Paranchai Boonsawat

Paranchai avatar Jul 14 '22 12:07 Paranchai