Hi Emily,
I'm trying to do this through R using the following:
library(biomaRt)
listMarts()
ensembl <- useMart("ensembl")
datasets <- listDatasets(ensembl)
head(datasets)
ensembl = useDataset("mmusculus_gene_ensembl", mart = ensembl)
attributeNames_codon_usage <- c("ensembl_gene_id", "5utr", "coding", "3utr")
ourFilterType <- "ensembl_gene_id"
filterValues <- rownames(Day4_CONvsCRE)
codon_usage_mm10_annot_Day4_CONvsCRE <- getBM(attributes = attributeNames_codon_usage,
filters = ourFilterType,
values = filterValues,
mart = ensembl)
but I keep getting the following error:
Error in scan(file = file, what = what, sep = sep, quote = quote, dec = dec, : line 1 did not have 4 elements