abstract_search {recount} | R Documentation

## Search the abstracts from the SRA studies available via the recount project

### 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

[Package recount version 1.20.0 Index]