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

View source: R/abstract_search.R

abstract_searchR Documentation

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

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

## Find the Geuvadis consortium project
project_info <- abstract_search("Geuvadis consortium")

## See some summary information for this project
project_info

leekgroup/recount documentation built on May 24, 2024, 11:19 a.m.