This link for bioMart available marts is down (http://www.ensembl.org:80/biomart/martservice?type=registry&requestid=biomaRt) which is causing the "Unexpected format to the list of available marts" error. When can I expect the webpage to be fixed? Thanks!
This is the code:
tx2g <- function(){
library("biomaRt")
mart <- biomaRt::useMart(biomart = "ENSEMBL_MART_ENSEMBL", dataset = ensembl_dataset)
t2g <- biomaRt::getBM(attributes = c("ensembl_transcript_id", "ensembl_gene_id",
"external_gene_name"), mart = mart)
t2g <- dplyr::rename(t2g, target_id = ensembl_transcript_id,
ens_gene = ensembl_gene_id, ext_gene = external_gene_name)
return(t2g)
}
t2g <- tx2g()
It usually works fine, but this error is a somewhat frequent problem for me.
Thanks again,
Eve
Thanks, this seems to have worked