object_type_from_url: Identify the GWAS object entity from the URL endpoint

object_type_from_urlR Documentation

Identify the GWAS object entity from the URL endpoint

Description

This function takes URL endpoints and returns one of: studies, associations, variants or traits.

Usage

object_type_from_url(resource_url)

Arguments

resource_url

A character vector of GWAS URL endpoints.

Value

A character vector of either "studies", "associations", "variants" or "traits".


gwasrapidd documentation built on June 8, 2025, 1:58 p.m.