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".


ramiromagno/gwasrapidd documentation built on Jan. 3, 2024, 10:21 p.m.