Hi,
This code was working earlier today. Please help. Thanks.
R version 3.6.1 (2019-07-05) Platform: x86_64-pc-linux-gnu (64-bit) Running under: Debian GNU/Linux 9 (stretch)
P.S.: My first question in this community
{r}
ensembl <- useMart( "ensembl", "mmusculus_gene_ensembl" )
goi <- str_replace( NGdata2$Geneid, ".[0-9]+$", "" )
t_biomart <- getBM(
attributes = c( "ensembl_gene_id", "external_gene_name", "gene_biotype" ),
filters = "ensembl_gene_id",
values = goi,
mart = ensembl
)
head(t_biomart)
Error in getBM(attributes = c("ensemblgeneid", "externalgenename", : The query to the BioMart webservice returned an invalid result: biomaRt expected a character string of length 1. Please report this on the support site at http://support.bioconductor.org
You were right, code worked the next day again. Thank you!
You were right, code worked the next day again. Thank you!