This function establishes a connection to a biomart database.
load_mart(species, ensembl.path = "www.ensembl.org", mart, verbose = FALSE)
The species of the protein identifiers in the term used by biomaRt (e.g. "hsapiens_gene_ensembl", "mmusculus_gene_ensembl", "drerio_gene_ensembl", etc.)
Ensembl host to connect to. Default: www.ensembl.org
The type of mart (e.g. "ENSEMBL_MART_ENSEMBL", etc.)
print a summary of the ensembl connection.
Connection for performing biomart queries.
{
data_table <- data.frame(Protein = c("Q01581", "P49327", "2/P63261/P60709"),
Abundance = c(100, 3390, 43423))
mart <- convert_protein_ids(data_table)
}
#> Warning: Ensembl will soon enforce the use of https.
#> Ensure the 'host' argument includes "https://"