View source: R/abstract_search.R
abstract_search | R Documentation |
Given a text query, find the SRA project ids (study accession numbers) that contain the text in their abstract as provided by the SRAdb Bioconductor package.
abstract_search(query, id_only = FALSE, ...)
query |
A character vector with the text to search for via grep in the abstract info available at recount_abstract. |
id_only |
Whether to only return the project id or to return summary information for the project(s) that match the query. |
... |
Additional arguments passed to grep. |
Both the query and the abstracts are searched in lower case.
For a more powerful search use the recount project website at https://jhubiostatistics.shinyapps.io/recount/.
If id_only = TRUE
it returns a character vector with the
project SRA ids (accession numbers). If id_only = FALSE
it returns a
subset of recount_abstract for the abstracts that contained the query.
Leonardo Collado-Torres
browse_study, recount_abstract
## Find the Geuvadis consortium project
project_info <- abstract_search("Geuvadis consortium")
## See some summary information for this project
project_info
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.