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 Dec. 28, 2022, 2:16 a.m.