powered by
Perform a PubMed search for multiple genes and terms.
search_pubmed(genes_list, terms_list, rank_method = "weighted", verbose = TRUE)
A data frame with search results, including genes, terms, and their corresponding publication counts and ranks.
A list of gene IDs.
A list of search terms.
The method to rank results, either "weighted" or "total". Defaults to "weighted".
Logical flag indicating whether to display messages. Default is TRUE.
genes <- c("TP53", "BRCA1") terms <- c("cancer", "tumor") search_results <- search_pubmed(genes, terms, rank_method = "weighted", verbose = FALSE) print(search_results)
Run the code above in your browser using DataLab