browse_study: Open a SRA study id in the SRA website

View source: R/browse_study.R

browse_studyR Documentation

Open a SRA study id in the SRA website

Description

Given a SRA study id get the url to browse the study using the SRA website.

Usage

browse_study(project, browse = interactive())

Arguments

project

A character vector with at least one SRA study id.

browse

Whether to open the resulting URL in the browser.

Value

Returns invisibly the URL for exploring the study in the SRA website.

Author(s)

Leonardo Collado-Torres

See Also

abstract_search

Examples

## Find the Geuvadis consortium project
id <- abstract_search("Geuvadis consortium", id_only = TRUE)
id

## Explore the Geuvadis consortium project
url <- browse_study(id)

## See the actual URL
url

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