get_studies_by_pubmed_id: Get GWAS Catalog studies by PubMed identifiers

View source: R/get_studies.R

get_studies_by_pubmed_idR Documentation

Get GWAS Catalog studies by PubMed identifiers

Description

Gets studies whose associated publications match PubMed identifiers.

Usage

get_studies_by_pubmed_id(
  pubmed_id = NULL,
  verbose = FALSE,
  warnings = TRUE,
  page_size = 20L
)

Arguments

pubmed_id

An integer vector of PubMed identifiers.

verbose

Whether the function should be verbose about the different queries or not.

warnings

Whether to print warnings.

page_size

An integer scalar indicating the page value to be used in the JSON requests, can be between 1 and 1000.

Value

A studies object.


gwasrapidd documentation built on May 29, 2024, 4:31 a.m.