getPubmed | R Documentation |
PubMed<https://pubmed.ncbi.nlm.nih.gov/> is a free search engine accessing primarily the database of references and abstracts on life ciences and biomedical topics.
getPubmed(term, add_term = NULL, num = 100)
term |
query terms e.g. gene id, GO/KEGG pathway |
add_term |
other searching terms Default is NULL |
num |
limit the number of records . Default is 100. |
A list of 'tibble' for pubmed records
term <- c("Tp53", "Brca1", "Tet2")
add_term <- c("stem cell", "mouse")
l <- getPubmed(term, add_term, num = 30)
# very easy to output
expoSheet(l, data_name = term, filename = "test.xlsx", dir = tempfile())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.