abstract_search: Search the abstracts from the SRA studies available via the...

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/abstract_search.R

Description

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.

Usage

1
abstract_search(query, id_only = FALSE, ...)

Arguments

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.

Details

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/.

Value

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.

Author(s)

Leonardo Collado-Torres

See Also

browse_study, recount_abstract

Examples

1
2
3
4
5
## Find the Geuvadis consortium project
project_info <- abstract_search("Geuvadis consortium")

## See some summary information for this project
project_info

recount documentation built on Dec. 20, 2020, 2:01 a.m.